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: Thu, 18 Sep 2014 13:01:42 +0100 Message-ID: <877g11i1cp.fsf@matt-desktop.home> 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> <87oauitjiw.fsf@mattleach.net> <3ABE107B-3F0E-465A-908A-5943E493DDC0@swipnet.se> <87oaufe5pc.fsf@psy.home> <54195C33.3050409@gmx.at> <871trapm5d.fsf@psy.home> <541AA6C0.4070604@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1411041761 3720 80.91.229.3 (18 Sep 2014 12:02:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Sep 2014 12:02:41 +0000 (UTC) Cc: 18451@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 18 14:02:34 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 1XUaPm-0003do-Qv for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Sep 2014 14:02:23 +0200 Original-Received: from localhost ([::1]:50229 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUaPm-0003L2-FS for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Sep 2014 08:02:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUaPe-0003K2-7J for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2014 08:02:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUaPX-0000sS-MS for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2014 08:02:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUaPX-0000pm-FX for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2014 08:02:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XUaPS-0008Qx-33 for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2014 08:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthew Leach Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Sep 2014 12:02: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.141104171932409 (code B ref 18451); Thu, 18 Sep 2014 12:02:02 +0000 Original-Received: (at 18451) by debbugs.gnu.org; 18 Sep 2014 12:01:59 +0000 Original-Received: from localhost ([127.0.0.1]:44023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUaPK-0008Qb-Ra for submit@debbugs.gnu.org; Thu, 18 Sep 2014 08:01:58 -0400 Original-Received: from mx0.mattleach.net ([176.58.118.143]:43155) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUaPF-0008QL-0m for 18451@debbugs.gnu.org; Thu, 18 Sep 2014 08:01:53 -0400 Original-Received: by mx0.mattleach.net (Postfix, from userid 99) id 4509461F96; Thu, 18 Sep 2014 13:01:48 +0100 (BST) Original-Received: from matt-desktop.home.mattleach.net (host86-179-90-36.range86-179.btcentralplus.com [86.179.90.36]) by mx0.mattleach.net (Postfix) with ESMTPSA id 8DEA061C54; Thu, 18 Sep 2014 13:01:43 +0100 (BST) In-Reply-To: <541AA6C0.4070604@gmx.at> (martin rudalics's message of "Thu, 18 Sep 2014 11:32:48 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.93 (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:93462 Archived-At: Hi Martin, martin rudalics writes: >>> Does (setq frame-resize-pixelwise t) change anything? >> >> I'm afraid not. I'm still seeing the bug after evaluating this form. > > Just for the record, even if you eval the form when startin Emacs? Actually, I hadn't done that, I just evaluated it in the scratch buffer. However, when I paste this as the first form in my .emacs it seems to fix the issue! I've been toggling for about 10 minutes now and haven't seen an occurrence of the bug. > > >> Hm, sorry I think there was a problem in my original trace, I've given >> it another shot. >> >> Here is a bug-free trace: >> >> Received ConfigureNotify event for frame: 0x6781b0 >> Received ConfigureNotify event for frame: 0x6781b0 >> Received ConfigureNotify event for frame: (nil) >> xg_frame_resized(0x6781b0, 1366, 768); >> configure_frame_size(0x6781b0, 1350, 768, 330584, 1, 0, 1); >> configure_frame_size(0x6781b0, 1350, 768, 330584, 0, 0, 1); >> Received ConfigureNotify event for frame: 0x6781b0 >> >> >> And a buggy-trace: >> >> Received ConfigureNotify event for frame: 0x6781b0 >> Received ConfigureNotify event for frame: (nil) >> xg_frame_resized(0x6781b0, 1366, 768); >> configure_frame_size(0x6781b0, 1350, 768, 330584, 1, 0, 1); >> configure_frame_size(0x6781b0, 1350, 768, 330584, 0, 0, 1); >> Received ConfigureNotify event for frame: 0x6781b0 >> Received ConfigureNotify event for frame: 0x6781b0 > > Sorry, I somehow lost the initial part of this thread. These two traces > don't document any affect on the minibuffer - the heights (768) are > always the same. What does `configure_frame_size' stand for? Oops, configure_frame_size should be `change_frame_size' defined in dispnew.c > Are the traces here in chronological order or reversed? They are in chronological order. > And how do you get a ConfigureNotify event for a frame `nil'? I'm not sure, but it seems to be expected behaviour as there is an explicit test for it in the ConfigureNotify event handler. The frame is set to `any' if x_top_window_to_frame returns null. -- Matt