After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 649776 - alt-tab target window immediately loses focus if focus_mode is sloppy and mouse not over target window
alt-tab target window immediately loses focus if focus_mode is sloppy and mou...
Status: RESOLVED DUPLICATE of bug 597190
Product: mutter
Classification: Core
Component: general
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2011-05-09 08:28 UTC by Martin Dengler
Modified: 2011-05-15 05:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Martin Dengler 2011-05-09 08:28:20 UTC
Sloppy focus doesn't seem to work with keynav any more (like doc/how-to-get-focus-right.txt says).

To reproduce:

1) Run xterm (call this window A)
2) From xterm, start xev (call this window B)
3) Leave the mouse over window A
4) Alt-tab to window B

Expected results: window B should have focus.

Actual results: window A ends up with focus.

I say "ends up with" because window A does get the focus so briefly as to be unnoticeable, but xev shows us:

[...]
FocusOut event, serial 29, synthetic NO, window 0x1a00001,
    mode NotifyNormal, detail NotifyNonlinear

[time passes, now comes the Alt-tab...]

FocusIn event, serial 29, synthetic NO, window 0x1a00001,
    mode NotifyWhileGrabbed, detail NotifyNonlinear

KeymapNotify event, serial 29, 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   

FocusIn event, serial 29, synthetic NO, window 0x1a00001,
    mode NotifyUngrab, detail NotifyNonlinear

KeymapNotify event, serial 29, synthetic NO, window 0x0,
    keys:  77  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   

FocusOut event, serial 29, synthetic NO, window 0x1a00001,
    mode NotifyNormal, detail NotifyNonlinear
^C
Comment 1 Martin Dengler 2011-05-15 05:46:03 UTC

*** This bug has been marked as a duplicate of bug 597190 ***