GNOME Bugzilla – Bug 536769
strange alt-tab bug
Last modified: 2010-03-19 12:19:07 UTC
Metacity sometimes goes into a strange mode where it will take two presses of alt+tab to change focus to another window. Pressing it once activates alt+tab mode, but does not shift the focus away from the current window.
Is there a reliable way to reproduce this?
Unfortunately not. It just kind of happens, occasionally, until I kill metacity.
This has just struck me again--can I get any kind of info out of metacity as to WTF is going on?
I can reproduce the bug! 1. Put some images in a directory 2. Run xterm 3. In the xterm, run xwininfo 4. When the mouse pointer turns into a cross, click the xterm window 5. Make a note of the window id (looks like '0x2c00024'). 6. Run this command: while true; do xscreensaver-getimage $window_id ; sleep 1; done 7. Switch to another workspace with a few windows on it 8. Wait for the xterm window to go into urgent state (that is, it appears in the window list as bold and flashing blue) 9. Now press alt+tab once. Instead of switching windows, you switch to the currently-focused window. Pressing it twice switches to another window. Phew! BTW I'm using metacity 2.22.0 from Debian. We don't patch the code other than to link with -Wl,as-needed.
Oh, you have to make sure you have the following in ~/.xscreensaver first: imageDirectory: /path/to/pictures/directory chooseRandomImages: True
This sounds like a duplicate of bug 535887.
*** Bug 587921 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 535887 ***