From: Tino Calancha <tino.calancha@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com,
bhavin7392@gmail.com, monnier@iro.umontreal.ca
Subject: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame
Date: Sat, 08 Aug 2020 13:52:53 +0200 [thread overview]
Message-ID: <87y2mpmk16.fsf@gmail.com> (raw)
In-Reply-To: <83pn827awm.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Aug 2020 18:06:49 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
> Does anyone here have a clue why we don't get MapNotify in the GNOME
> Shell case?
All window managers I have tested so far (except Gnome Shell) agree on the
following:
they send a 'VisibilityNotify event' when you select back the previously
iconified window.
Gnome Shell do not send such an event even when users choose 'Gnome
Classic', which uses a panel that displays the iconified apps.
[Design decision or Gnome bug? I haven't searched that much about this,
but I think gnome Shell should send that event as everyone else: this
migth affect other APPS, not only Emacs]
> Tino, could you please use 'xev' to show which X events _are_ being
> delivered to Emacs after you press M-TAB or do any of the other 2
> gestures that are supposed to de-iconify the frame?
Here is the comparison between window managers.
for easier navigations, I recommend to copy the
following lines and display it inside Emacs in a org mode buffer:
--8<-----------------------------cut here---------------start------------->8---
* xev: fluxbox
** C-z
KeyRelease event, serial 21, synthetic NO, window 0x1a00027,
root 0x215, subw 0x0, time 5924861, (981,179), root:(4949,427),
state 0x10, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 21, synthetic NO, window 0x1a00027,
root 0x215, subw 0x0, time 5924861, (981,179), root:(4949,427),
state 0x10, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 21, synthetic NO, window 0x1a00027,
root 0x215, subw 0x0, time 5925229, (981,179), root:(4949,427),
state 0x14, keycode 52 (keysym 0x7a, z), same_screen YES,
XLookupString gives 1 bytes: (1a) ""
XFilterEvent returns: False
KeyPress event, serial 21, synthetic NO, window 0x1a00027,
root 0x215, subw 0x0, time 5925229, (981,179), root:(4949,427),
state 0x14, keycode 52 (keysym 0x7a, z), same_screen YES,
XLookupString gives 1 bytes: (1a) ""
XmbLookupString gives 1 bytes: (1a) ""
XFilterEvent returns: False
PropertyNotify event, serial 21, synthetic NO, window 0x1a00027,
atom 0x1a8 (_NET_WM_ALLOWED_ACTIONS), time 5925236, state PropertyNewValue
PropertyNotify event, serial 22, synthetic NO, window 0x1a00027,
atom 0x19b (_NET_WM_STATE), time 5925237, state PropertyNewValue
FocusOut event, serial 23, synthetic NO, window 0x1a00027,
mode NotifyNormal, detail NotifyNonlinear
PropertyNotify event, serial 23, synthetic NO, window 0x1a00027,
atom 0x16d (WM_STATE), time 5925237, state PropertyNewValue
UnmapNotify event, serial 23, synthetic NO, window 0x1a00027,
event 0x1a00027, window 0x1a00027, from_configure NO
ConfigureNotify event, serial 24, synthetic YES, window 0x1a00027,
event 0x1a00027, window 0x1a00027, (3968,248), width 674, height 680,
border_width 0, above 0x0, override NO
** De-iconify (M-TAB, M-`, click w/ mouse, etc)
PropertyNotify event, serial 24, synthetic NO, window 0x1a00027,
atom 0x1a8 (_NET_WM_ALLOWED_ACTIONS), time 5996447, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x1a00027,
atom 0x19b (_NET_WM_STATE), time 5996447, state PropertyDelete
MapNotify event, serial 24, synthetic NO, window 0x1a00027,
event 0x1a00027, window 0x1a00027, override NO
VisibilityNotify event, serial 24, synthetic NO, window 0x1a00027,
state VisibilityPartiallyObscured
PropertyNotify event, serial 24, synthetic NO, window 0x1a00027,
atom 0x16d (WM_STATE), time 5996449, state PropertyNewValue
VisibilityNotify event, serial 24, synthetic NO, window 0x1a00027,
state VisibilityUnobscured
FocusIn event, serial 24, synthetic NO, window 0x1a00027,
mode NotifyWhileGrabbed, detail NotifyNonlinear
KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys: 109 0 4294967168 0 0 0 0 0 0 0 0 0 0 16 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ConfigureNotify event, serial 24, synthetic NO, window 0x1a00027,
event 0x1a00027, window 0x1a00027, (0,18), width 674, height 680,
border_width 0, above 0x400eb4, override NO
ConfigureNotify event, serial 24, synthetic YES, window 0x1a00027,
event 0x1a00027, window 0x1a00027, (3968,248), width 674, height 680,
border_width 0, above 0x0, override NO
FocusIn event, serial 24, synthetic NO, window 0x1a00027,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys: 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
* xev: mate
** C-z
KeyRelease event, serial 19, synthetic NO, window 0x3c00028,
root 0x215, subw 0x0, time 1071389, (99,1997), root:(509,2158),
state 0x10, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 19, synthetic NO, window 0x3c00028,
root 0x215, subw 0x0, time 1071389, (99,1997), root:(509,2158),
state 0x10, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 22, synthetic NO, window 0x3c00028,
root 0x215, subw 0x0, time 1071805, (99,1997), root:(509,2158),
state 0x14, keycode 52 (keysym 0x7a, z), same_screen YES,
XLookupString gives 1 bytes: (1a) ""
XFilterEvent returns: False
KeyPress event, serial 22, synthetic NO, window 0x3c00028,
root 0x215, subw 0x0, time 1071805, (99,1997), root:(509,2158),
state 0x14, keycode 52 (keysym 0x7a, z), same_screen YES,
XLookupString gives 1 bytes: (1a) ""
XmbLookupString gives 1 bytes: (1a) ""
XFilterEvent returns: False
PropertyNotify event, serial 22, synthetic NO, window 0x3c00028,
atom 0x202 (_NET_WM_ALLOWED_ACTIONS), time 1071811, state PropertyNewValue
FocusOut event, serial 22, synthetic NO, window 0x3c00028,
mode NotifyNormal, detail NotifyNonlinear
UnmapNotify event, serial 22, synthetic NO, window 0x3c00028,
event 0x3c00028, window 0x3c00028, from_configure NO
PropertyNotify event, serial 22, synthetic NO, window 0x3c00028,
atom 0x1c0 (WM_STATE), time 1071812, state PropertyNewValue
PropertyNotify event, serial 22, synthetic NO, window 0x3c00028,
atom 0x17e (_NET_WM_STATE), time 1071812, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x3c00028,
atom 0x17e (_NET_WM_STATE), time 1071813, state PropertyNewValue
** De-iconify (M-TAB, M-`, click w/ mouse, etc)
PropertyNotify event, serial 24, synthetic NO, window 0x3c00028,
atom 0x202 (_NET_WM_ALLOWED_ACTIONS), time 1140295, state PropertyNewValue
MapNotify event, serial 24, synthetic NO, window 0x3c00028,
event 0x3c00028, window 0x3c00028, override NO
VisibilityNotify event, serial 24, synthetic NO, window 0x3c00028,
state VisibilityUnobscured
PropertyNotify event, serial 24, synthetic NO, window 0x3c00028,
atom 0x1c0 (WM_STATE), time 1140303, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x3c00028,
atom 0x17e (_NET_WM_STATE), time 1140303, state PropertyNewValue
FocusIn event, serial 24, synthetic NO, window 0x3c00028,
mode NotifyNormal, detail NotifyNonlinear
KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PropertyNotify event, serial 24, synthetic NO, window 0x3c00028,
atom 0x17e (_NET_WM_STATE), time 1140305, state PropertyNewValue
* xev: plasma-wayland
** C-z
KeyRelease event, serial 19, synthetic NO, window 0x14000b5,
root 0x3a1, subw 0x0, time 364008, (-1280,444), root:(1025,698),
state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 19, synthetic NO, window 0x14000b5,
root 0x3a1, subw 0x0, time 364008, (-1280,444), root:(1025,698),
state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 22, synthetic NO, window 0x14000b5,
root 0x3a1, subw 0x0, time 364233, (-1280,444), root:(1025,698),
state 0x4, keycode 52 (keysym 0x7a, z), same_screen YES,
XLookupString gives 1 bytes: (1a) ""
XFilterEvent returns: False
KeyPress event, serial 22, synthetic NO, window 0x14000b5,
root 0x3a1, subw 0x0, time 364233, (-1280,444), root:(1025,698),
state 0x4, keycode 52 (keysym 0x7a, z), same_screen YES,
XLookupString gives 1 bytes: (1a) ""
XmbLookupString gives 1 bytes: (1a) ""
XFilterEvent returns: False
PropertyNotify event, serial 22, synthetic NO, window 0x14000b5,
atom 0x152 (_NET_WM_STATE), time 364234, state PropertyNewValue
FocusOut event, serial 22, synthetic NO, window 0x14000b5,
mode NotifyNormal, detail NotifyNonlinear
UnmapNotify event, serial 22, synthetic NO, window 0x14000b5,
event 0x14000b5, window 0x14000b5, from_configure NO
PropertyNotify event, serial 22, synthetic NO, window 0x14000b5,
atom 0x108 (WM_STATE), time 364235, state PropertyNewValue
PropertyNotify event, serial 22, synthetic NO, window 0x14000b5,
atom 0x152 (_NET_WM_STATE), time 364235, state PropertyNewValue
** De-iconify (M-TAB, M-`, click w/ mouse, etc)
PropertyNotify event, serial 23, synthetic NO, window 0x14000b5,
atom 0x152 (_NET_WM_STATE), time 387978, state PropertyNewValue
MapNotify event, serial 23, synthetic NO, window 0x14000b5,
event 0x14000b5, window 0x14000b5, override NO
VisibilityNotify event, serial 23, synthetic NO, window 0x14000b5,
state VisibilityUnobscured
PropertyNotify event, serial 23, synthetic NO, window 0x14000b5,
atom 0x108 (WM_STATE), time 387979, state PropertyNewValue
FocusIn event, serial 23, synthetic NO, window 0x14000b5,
mode NotifyNormal, detail NotifyNonlinear
KeymapNotify event, serial 23, synthetic NO, window 0x0,
keys: 4294967221 0 0 0 0 0 0 0 0 0 0 0 0 16 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PropertyNotify event, serial 23, synthetic NO, window 0x14000b5,
atom 0x152 (_NET_WM_STATE), time 387986, state PropertyNewValue
* xev: gnome-shell-gnome-wayland
** C-z
KeyRelease event, serial 20, synthetic NO, window 0x8000ba,
root 0x3a0, subw 0x0, time 1658527, (-140,569), root:(873,742),
state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 20, synthetic NO, window 0x8000ba,
root 0x3a0, subw 0x0, time 1658527, (-140,569), root:(873,742),
state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 23, synthetic NO, window 0x8000ba,
root 0x3a0, subw 0x0, time 1658687, (-140,569), root:(873,742),
state 0x4, keycode 52 (keysym 0x7a, z), same_screen YES,
XLookupString gives 1 bytes: (1a) ""
XFilterEvent returns: False
KeyPress event, serial 23, synthetic NO, window 0x8000ba,
root 0x3a0, subw 0x0, time 1658687, (-140,569), root:(873,742),
state 0x4, keycode 52 (keysym 0x7a, z), same_screen YES,
XLookupString gives 1 bytes: (1a) ""
XmbLookupString gives 1 bytes: (1a) ""
XFilterEvent returns: False
PropertyNotify event, serial 23, synthetic NO, window 0x8000ba,
atom 0x12d (WM_STATE), time 1658695, state PropertyNewValue
PropertyNotify event, serial 23, synthetic NO, window 0x8000ba,
atom 0x10d (_NET_WM_STATE), time 1658695, state PropertyNewValue
PropertyNotify event, serial 23, synthetic NO, window 0x8000ba,
atom 0x193 (_GTK_EDGE_CONSTRAINTS), time 1658695, state PropertyNewValue
FocusOut event, serial 23, synthetic NO, window 0x8000ba,
mode NotifyNormal, detail NotifyNonlinear
PropertyNotify event, serial 23, synthetic NO, window 0x8000ba,
atom 0x10d (_NET_WM_STATE), time 1658695, state PropertyNewValue
PropertyNotify event, serial 23, synthetic NO, window 0x8000ba,
atom 0x193 (_GTK_EDGE_CONSTRAINTS), time 1658695, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x8000ba,
atom 0x10d (_NET_WM_STATE), time 1658712, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x8000ba,
atom 0x193 (_GTK_EDGE_CONSTRAINTS), time 1658712, state PropertyNewValue
** De-iconify (M-TAB, M-`, click w/ mouse, etc)
PropertyNotify event, serial 24, synthetic NO, window 0x8000ba,
atom 0x12d (WM_STATE), time 1703120, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x8000ba,
atom 0x10d (_NET_WM_STATE), time 1703120, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x8000ba,
atom 0x193 (_GTK_EDGE_CONSTRAINTS), time 1703120, state PropertyNewValue
FocusIn event, serial 24, synthetic NO, window 0x8000ba,
mode NotifyNormal, detail NotifyNonlinear
KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys: 13 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PropertyNotify event, serial 24, synthetic NO, window 0x8000ba,
atom 0x10d (_NET_WM_STATE), time 1703123, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x8000ba,
atom 0x193 (_GTK_EDGE_CONSTRAINTS), time 1703123, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x8000ba,
atom 0x10d (_NET_WM_STATE), time 1703145, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x8000ba,
atom 0x193 (_GTK_EDGE_CONSTRAINTS), time 1703145, state PropertyNewValue
* xev: gnome-shell-gnome-classic
** C-z
KeyRelease event, serial 23, synthetic NO, window 0x22000ba,
root 0x215, subw 0x0, time 609608, (-1390,576), root:(783,764),
state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 23, synthetic NO, window 0x22000ba,
root 0x215, subw 0x0, time 609608, (-1390,576), root:(783,764),
state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 23, synthetic NO, window 0x22000ba,
root 0x215, subw 0x0, time 609768, (-1390,576), root:(783,764),
state 0x4, keycode 52 (keysym 0x7a, z), same_screen YES,
XLookupString gives 1 bytes: (1a) ""
XFilterEvent returns: False
KeyPress event, serial 23, synthetic NO, window 0x22000ba,
root 0x215, subw 0x0, time 609768, (-1390,576), root:(783,764),
state 0x4, keycode 52 (keysym 0x7a, z), same_screen YES,
XLookupString gives 1 bytes: (1a) ""
XmbLookupString gives 1 bytes: (1a) ""
XFilterEvent returns: False
PropertyNotify event, serial 23, synthetic NO, window 0x22000ba,
atom 0x1bb (WM_STATE), time 609783, state PropertyNewValue
PropertyNotify event, serial 23, synthetic NO, window 0x22000ba,
atom 0x17e (_NET_WM_STATE), time 609783, state PropertyNewValue
PropertyNotify event, serial 23, synthetic NO, window 0x22000ba,
atom 0x1ca (_GTK_EDGE_CONSTRAINTS), time 609783, state PropertyNewValue
FocusOut event, serial 23, synthetic NO, window 0x22000ba,
mode NotifyNormal, detail NotifyNonlinear
PropertyNotify event, serial 24, synthetic NO, window 0x22000ba,
atom 0x17e (_NET_WM_STATE), time 609788, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x22000ba,
atom 0x1ca (_GTK_EDGE_CONSTRAINTS), time 609788, state PropertyNewValue
** De-iconify (M-TAB, M-`, click w/ mouse, etc)
PropertyNotify event, serial 24, synthetic NO, window 0x22000ba,
atom 0x1bb (WM_STATE), time 657505, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x22000ba,
atom 0x17e (_NET_WM_STATE), time 657505, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x22000ba,
atom 0x1ca (_GTK_EDGE_CONSTRAINTS), time 657505, state PropertyNewValue
FocusIn event, serial 24, synthetic NO, window 0x22000ba,
mode NotifyWhileGrabbed, detail NotifyNonlinear
KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys: 126 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FocusIn event, serial 24, synthetic NO, window 0x22000ba,
mode NotifyUngrab, detail NotifyNonlinear
KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys: 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PropertyNotify event, serial 24, synthetic NO, window 0x22000ba,
atom 0x17e (_NET_WM_STATE), time 657520, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x22000ba,
atom 0x1ca (_GTK_EDGE_CONSTRAINTS), time 657520, state PropertyNewValue
--8<-----------------------------cut here---------------end--------------->8---
next prev parent reply other threads:[~2020-08-08 11:52 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-01 18:46 bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame Tino Calancha
2020-08-01 18:53 ` Eli Zaretskii
2020-08-02 13:07 ` Tino Calancha
2020-08-02 14:34 ` Eli Zaretskii
2020-08-03 19:46 ` Tino Calancha
2020-08-03 21:29 ` Stefan Monnier
2020-08-04 2:21 ` Eli Zaretskii
2020-08-04 3:59 ` Eli Zaretskii
2020-08-04 14:20 ` Eli Zaretskii
2020-08-04 15:14 ` Bhavin Gandhi
2020-08-04 16:40 ` Eli Zaretskii
2020-08-04 18:53 ` Bhavin Gandhi
2020-08-04 19:07 ` Eli Zaretskii
2020-08-05 17:23 ` Bhavin Gandhi
2020-08-05 18:43 ` Eli Zaretskii
2020-08-05 18:57 ` Tino Calancha
2020-08-06 2:29 ` Eli Zaretskii
2020-08-06 5:41 ` Bhavin Gandhi
2020-08-06 7:43 ` Eli Zaretskii
2020-08-06 8:13 ` Tino Calancha
2020-08-06 13:47 ` Eli Zaretskii
2020-08-06 13:57 ` Eli Zaretskii
2020-08-06 14:18 ` Tino Calancha
2020-08-06 14:37 ` Tino Calancha
2020-08-07 5:53 ` Eli Zaretskii
2020-08-07 11:47 ` Tino Calancha
2020-08-07 12:05 ` Eli Zaretskii
2020-08-07 12:20 ` Bhavin Gandhi
2020-08-07 14:01 ` Tino Calancha
2020-08-07 15:06 ` Eli Zaretskii
2020-08-08 11:52 ` Tino Calancha [this message]
2020-08-09 14:26 ` Eli Zaretskii
2020-08-10 17:52 ` Tino Calancha
2020-08-12 16:50 ` Eli Zaretskii
2020-08-15 14:23 ` Tino Calancha
2020-08-05 18:24 ` Tino Calancha
2020-08-05 18:31 ` Bhavin Gandhi
2020-08-05 18:34 ` Tino Calancha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2mpmk16.fsf@gmail.com \
--to=tino.calancha@gmail.com \
--cc=42655@debbugs.gnu.org \
--cc=bhavin7392@gmail.com \
--cc=eggert@cs.ucla.edu \
--cc=eliz@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=uyennhi.qm@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).