GNU bug report logs - #18451
24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer

Previous Next

Package: emacs;

Reported by: dev <at> mattleach.net

Date: Thu, 11 Sep 2014 16:42:02 UTC

Severity: normal

Tags: moreinfo

Found in version 24.4.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #53 received at 18451 <at> debbugs.gnu.org (full text, mbox):

From: Matthew Leach <matthew <at> mattleach.net>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 18451 <at> debbugs.gnu.org, martin rudalics <rudalics <at> gmx.at>
Subject: Re: bug#18451: 24.4.50;
 'toggle-frame-fullscreen' can cut off minibuffer
Date: Fri, 19 Sep 2014 11:22:17 +0100
[Message part 1 (text/plain, inline)]
Jan Djärv <jan.h.d <at> swipnet.se> writes:

> 18 sep 2014 kl. 14:41 skrev martin rudalics <rudalics <at> gmx.at>:
>
>> In any case, the problem could be due to the following:
>> 
>> (1) Due to some non-textual settings (scroll bar, divider, border width)
>>    we ask the window manager for a frame height which is _not_ an
>>    integral multiple of the nominal character height.  At the same time
>>    we ask the window manager to store that nominal height as the
>>    canonical height by which frame height change increments should be
>>    allowed.
>> 
>> (2) The window manager (sometimes) decides that our resize request is
>>    impudent and overrules it by sending us a size that fits the nominal
>>    height settings.
>> 
>> Jan is our hints expert.  Maybe he has an idea.
>
>
> Basically yes.  But with Gtk+ there is an additional complication.
> Gtk tries to force the height increments itself if it finds that they
> aren't met, by resizing windows.  By setting resize pixelwise all
> hints are basically off so nothing of this happens.  An idea would be
> to turn hints off if we are going fullsize.

That sounds like a good idea, but I sometimes see the same problem when
coming out of full-screen mode (see attached).  We'd need to disable
hints for enabling and disabling full-screen, would that work?
-- 
Matt

[2014-09-19-111901_1366x768_scrot.png (image/png, attachment)]

This bug report was last modified 10 years and 101 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.