From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Leach Newsgroups: gmane.emacs.bugs Subject: bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer Date: Sun, 14 Sep 2014 13:32:23 +0000 Message-ID: <87oauitjiw.fsf@mattleach.net> References: <87mwa65dte.fsf@alarm.home> <65FD46C3-80B3-497B-B3B3-7010772CD56F@swipnet.se> <87vboum4cq.fsf@ixlun.home> <98621C9D-9606-42E4-AC57-02D6F6B30CD8@swipnet.se> <87vbori2yi.fsf@matt-desktop.home> <0264F34D-0837-401E-9215-C401BD62CF99@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1410701609 22571 80.91.229.3 (14 Sep 2014 13:33:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Sep 2014 13:33:29 +0000 (UTC) Cc: 18451@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 14 15:33:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XT9va-0007M3-VC for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Sep 2014 15:33:19 +0200 Original-Received: from localhost ([::1]:54635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XT9va-0003Y4-IO for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Sep 2014 09:33:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XT9vS-0003Xx-FC for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2014 09:33:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XT9vM-0004d1-Ib for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2014 09:33:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XT9vM-0004cx-GY for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2014 09:33:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XT9vL-0008Oo-9V for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2014 09:33:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthew Leach Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Sep 2014 13:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18451 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18451-submit@debbugs.gnu.org id=B18451.141070155632250 (code B ref 18451); Sun, 14 Sep 2014 13:33:02 +0000 Original-Received: (at 18451) by debbugs.gnu.org; 14 Sep 2014 13:32:36 +0000 Original-Received: from localhost ([127.0.0.1]:40647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XT9us-0008O5-Mn for submit@debbugs.gnu.org; Sun, 14 Sep 2014 09:32:35 -0400 Original-Received: from mx0.mattleach.net ([176.58.118.143]:50911) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XT9un-0008Ns-AK for 18451@debbugs.gnu.org; Sun, 14 Sep 2014 09:32:30 -0400 Original-Received: by mx0.mattleach.net (Postfix, from userid 99) id A2463620F6; Sun, 14 Sep 2014 14:32:28 +0100 (BST) Original-Received: from xie.mattleach.net (host86-179-90-36.range86-179.btcentralplus.com [86.179.90.36]) by mx0.mattleach.net (Postfix) with ESMTPSA id 381B261C49; Sun, 14 Sep 2014 14:32:24 +0100 (BST) In-Reply-To: <0264F34D-0837-401E-9215-C401BD62CF99@swipnet.se> ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Sun, 14 Sep 2014 11:20:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:93358 Archived-At: Jan Dj=C3=A4rv writes: > Hello. Hi Jan, [...] > If you compile Emacs yourself, you can debug this by tracing the > ConfigureNotify Emacs gets and/or the calls to change_frame_size and > xg_frame_resized. Obviously some call is either not made or made with > the wrong parameters. It may be a race condition so that Emacs gets > ConfigureNotify out of sequence. I have added trace prints in the functions that you suggested and things do look different when the bug occurs. The following trace is printed when the resize happens correctly (the trace seems to be the same between bug-free resize operations). ConfigureNotify event received. ConfigureNotify event received. ConfigureNotify event received. xg_frame_resized(0x6896f8, 1366, 768); change_frame_size(0x6896f8, 1350, 768, 0, 1, 0, 1); change_frame_size(0x6896f8, 1350, 768, 0, 0, 0, 1); ConfigureNotify event received. ConfigureNotify event received. ConfigureNotify event received. ConfigureNotify event received. xg_frame_resized(0x6896f8, 679, 729); change_frame_size(0x6896f8, 663, 729, 0, 1, 0, 1); change_frame_size(0x6896f8, 663, 729, 0, 0, 0, 1); ConfigureNotify event received This is the trace when the bug occurs (again, the trace is consistent between buggy resize operations): ConfigureNotify event received. ConfigureNotify event received. change_frame_size(0x6896f8, 1350, 768, 0, 1, 0, 1); ConfigureNotify event received. ConfigureNotify event received. change_frame_size(0x6896f8, 1350, 768, 0, 0, 1, 1); ConfigureNotify event received. ConfigureNotify event received. ConfigureNotify event received. xg_frame_resized(0x6896f8, 679, 729); change_frame_size(0x6896f8, 663, 729, 0, 1, 0, 1); change_frame_size(0x6896f8, 663, 729, 0, 0, 0, 1); ConfigureNotify event received. ConfigureNotify event received. xg_frame_resized(0x6896f8, 672, 720); change_frame_size(0x6896f8, 656, 720, 0, 1, 0, 1); change_frame_size(0x6896f8, 656, 720, 0, 0, 0, 1); xg_frame_resized doesn't seem to be called on the buggy trace when entering full-screen. Any ideas where else I could look? --=20 Matt