[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer
From: |
Jan Djärv |
Subject: |
bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer |
Date: |
Tue, 16 Sep 2014 20:38:21 +0200 |
Hello.
14 sep 2014 kl. 15:32 skrev Matthew Leach <matthew@mattleach.net>:
> Jan Djärv <jan.h.d@swipnet.se> 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):
>
The question is where does change_frame_size get called from from if they are
not from xg_frame_resized?
As a long shot, try removing this line:
do_pending_window_change (0);
in xg_frame_resized.
Jan D.
> 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?
> --
> Matt
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, dev, 2014/09/11
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, Jan Djärv, 2014/09/11
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, Matthew Leach, 2014/09/11
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, Jan Djärv, 2014/09/13
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, Matthew Leach, 2014/09/13
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, Jan Djärv, 2014/09/14
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, Matthew Leach, 2014/09/14
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer,
Jan Djärv <=
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, Matthew Leach, 2014/09/16
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, martin rudalics, 2014/09/17
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, Matthew Leach, 2014/09/17
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, martin rudalics, 2014/09/18
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, Matthew Leach, 2014/09/18
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, martin rudalics, 2014/09/18
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, Jan Djärv, 2014/09/18
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, Matthew Leach, 2014/09/19
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, martin rudalics, 2014/09/19
- bug#18451: 24.4.50; 'toggle-frame-fullscreen' can cut off minibuffer, Jan Djärv, 2014/09/20