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 85916 - tab popup remains there on tapping 'Alt Tab' on busy system
tab popup remains there on tapping 'Alt Tab' on busy system
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
unspecified
Other other
: Normal normal
: GNOME2.x
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2002-06-19 09:23 UTC by Trevor Spiteri
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
fix (11.68 KB, patch)
2003-01-20 22:55 UTC, Havoc Pennington
none Details | Review

Description Trevor Spiteri 2002-06-19 09:23:40 UTC
If metacity is not fast enough, e.g. because of momentarily busy (as in
thrashing) system, just tapping the keys to cycle windows (pressing them
and releasing them fast enough) results in the tab popup remaining there.

To reproduce easily, run metacity on gdb, and put a breakpoint at the
beginning of the handle_tab_forward() function in keybindings.c. Pressing
Alt Tab to cycle the windows triggers the breakpoint. Continuing metacity
on gdb results in the reported behaviour.
Comment 1 Havoc Pennington 2002-08-10 16:30:07 UTC
Problem is that we only get the Alt key release if we establish a grab
prior to the key being released. Otherwise we miss the Alt release.

I'm not sure how to fix this yet. We can't really passive grab plain 
"Alt" keypresses, I don't think.
Comment 2 Havoc Pennington 2002-09-24 19:18:30 UTC
Owen do you have any ideas on this race? Should I passive grab the 
key bound to the Mod1 modifier?
Comment 3 Owen Taylor 2002-09-24 19:33:47 UTC
Well, cheesy solution is to check if the Alt key is still
down after you make your grab, if not, abort immediately.
Comment 4 Heath Harrelson 2002-10-30 15:45:26 UTC
Batch adding GNOME2 keyword to Metacity bugs.  Sorry for the spam.
Comment 5 Gregory Leblanc 2002-11-01 20:03:51 UTC
This also appears to happen when switching workspaces via C-A-arrow_key
Comment 6 Havoc Pennington 2003-01-20 22:55:19 UTC
Here's a possible fix
Comment 7 Havoc Pennington 2003-01-20 22:55:38 UTC
Created attachment 13708 [details] [review]
fix
Comment 8 Havoc Pennington 2003-02-25 08:02:54 UTC
In CVS now