Comment 20 for bug 947468

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Outer window is 0x4200001, inner window is 0x4200002

PropertyNotify event, serial 8, synthetic NO, window 0x4200001,
    atom 0x27 (WM_NAME), time 13657013, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x4200001,
    atom 0x22 (WM_COMMAND), time 13657013, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x4200001,
    atom 0x28 (WM_NORMAL_HINTS), time 13657013, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x4200001,
    parent 0x4200001, window 0x4200002, (10,10), width 50, height 50
border_width 4, override NO

PropertyNotify event, serial 14, synthetic NO, window 0x4200001,
    atom 0x10d (WM_PROTOCOLS), time 13657013, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x4200001,
    event 0x4200001, window 0x4200002, override NO

ConfigureNotify event, serial 21, synthetic NO, window 0x4200001,
    event 0x4200001, window 0x4200001, (0,0), width 178, height 178,
    border_width 0, above 0x400799e, override NO

PropertyNotify event, serial 21, synthetic NO, window 0x4200001,
    atom 0x192 (_NET_WM_ALLOWED_ACTIONS), time 13657015, state PropertyNewValue

PropertyNotify event, serial 21, synthetic NO, window 0x4200001,
    atom 0x192 (_NET_WM_ALLOWED_ACTIONS), time 13657015, state PropertyNewValue

ReparentNotify event, serial 21, synthetic NO, window 0x4200001,
    event 0x4200001, window 0x4200001, parent 0xe4f9bf,
    (0,0), override NO

PropertyNotify event, serial 21, synthetic NO, window 0x4200001,
    atom 0x115 (_NET_WM_DESKTOP), time 13657016, state PropertyNewValue

PropertyNotify event, serial 21, synthetic NO, window 0x4200001,
    atom 0x115 (_NET_WM_DESKTOP), time 13657016, state PropertyNewValue

PropertyNotify event, serial 21, synthetic NO, window 0x4200001,
    atom 0x112 (_NET_FRAME_EXTENTS), time 13657017, state PropertyNewValue

ConfigureNotify event, serial 21, synthetic NO, window 0x4200001,
    event 0x4200001, window 0x4200001, (1,28), width 178, height 178,
    border_width 0, above 0x0, override NO

PropertyNotify event, serial 21, synthetic NO, window 0x4200001,
    atom 0x13a (WM_STATE), time 13657017, state PropertyNewValue

PropertyNotify event, serial 21, synthetic NO, window 0x4200001,
    atom 0x11b (_NET_WM_STATE), time 13657017, state PropertyNewValue

PropertyNotify event, serial 22, synthetic NO, window 0x4200001,
    atom 0x147 (XKLAVIER_STATE), time 13657021, state PropertyNewValue

MapNotify event, serial 22, synthetic NO, window 0x4200001,
    event 0x4200001, window 0x4200001, override NO

VisibilityNotify event, serial 22, synthetic NO, window 0x4200001,
    state VisibilityUnobscured

Expose event, serial 22, synthetic NO, window 0x4200001,
    (0,0), width 178, height 10, count 3

Expose event, serial 22, synthetic NO, window 0x4200001,
    (0,10), width 10, height 58, count 2

Expose event, serial 22, synthetic NO, window 0x4200001,
    (68,10), width 110, height 58, count 1

Expose event, serial 22, synthetic NO, window 0x4200001,
    (0,68), width 178, height 110, count 0

PropertyNotify event, serial 22, synthetic NO, window 0x4200001,
    atom 0x11b (_NET_WM_STATE), time 13657027, state PropertyNewValue

FocusIn event, serial 22, synthetic NO, window 0x4200001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 22, synthetic NO, window 0x0,
    keys: 4294967265 0 0 0 16 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 22, synthetic NO, window 0x4200001,
    atom 0x11b (_NET_WM_STATE), time 13657027, state PropertyNewValue

KeyRelease event, serial 29, synthetic NO, window 0x4200001,
    root 0xb2, subw 0x0, time 13657056, (419,457), root:(420,509),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

PropertyNotify event, serial 32, synthetic NO, window 0x4200001,
    atom 0x189 (_NET_WM_ICON_GEOMETRY), time 13657112, state PropertyNewValue

PropertyNotify event, serial 33, synthetic NO, window 0x4200001,
    atom 0x189 (_NET_WM_ICON_GEOMETRY), time 13657148, state PropertyNewValue

KeyPress event, serial 33, synthetic NO, window 0x4200001,
    root 0xb2, subw 0x0, time 13658224, (419,457), root:(420,509),
    state 0x0, keycode 133 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

FocusOut event, serial 33, synthetic NO, window 0x4200001,
    mode NotifyGrab, detail NotifyAncestor

FocusOut event, serial 33, synthetic NO, window 0x4200001,
    mode NotifyWhileGrabbed, detail NotifyNonlinear

FocusIn event, serial 33, synthetic NO, window 0x4200001,
    mode NotifyWhileGrabbed, detail NotifyNonlinear

KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys: 4294967265 0 4294967168 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

FocusIn event, serial 33, synthetic NO, window 0x4200001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys: 3 0 4294967168 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

KeyRelease event, serial 33, synthetic NO, window 0x4200001,
    root 0xb2, subw 0x0, time 13662584, (419,457), root:(420,509),
    state 0x0, keycode 23 (keysym 0xff09, Tab), same_screen YES,
    XLookupString gives 1 bytes: (09) " "
    XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x4200001,
    root 0xb2, subw 0x0, time 13664185, (419,457), root:(420,509),
    state 0x0, keycode 133 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

FocusOut event, serial 33, synthetic NO, window 0x4200001,
    mode NotifyGrab, detail NotifyAncestor

ClientMessage event, serial 33, synthetic YES, window 0x4200001,
    message_type 0x10d (WM_PROTOCOLS), format 32, message 0x10b (WM_DELETE_WINDOW)

***********************************

My hardware is a MacBookAir 4,1 11" with the built-in keyboard. I do have left-alt and left-super swapped.

After opening xev, I hit alt-tab, which switched from xev back to the terminal it was started from, and brought up the HUD. Then alt-tab back (which also hid the HUD) and alt-F4 to close xev.

I think 500ms is *way* too low a threshold, and a different heuristic needs to be used to determine whether or not a user wants the HUD. I alt-tab constantly, rapidly, and the HUD comes up every time unless I hold down alt-tab long enough to see the window switcher, which feels like an eternity when it is enforced for every quick window switch. :-/