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 618815 - mnemonics aren't displayed when Alt is already pressed before a new top level window shows up
mnemonics aren't displayed when Alt is already pressed before a new top level...
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-05-16 21:31 UTC by Rui Matos
Modified: 2011-05-06 18:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GtkWindow: set mnemonics visible on focus in if modifier is pressed (2.28 KB, patch)
2011-04-13 10:52 UTC, Rui Matos
none Details | Review

Description Rui Matos 2010-05-16 21:31:01 UTC
With gtk-auto-mnemonics on, open a new top level window with Alt already pressed. The mnemonics won't be displayed although they are usable. It would be nice if they were displayed without having to release Alt and press it again.

To reproduce, open the About dialog on any gtk+ application, then press Alt+L without releasing Alt. The License window will appear. If one presses C, that window will close (since Alt is still pressed) but one never sees the mnemonic.
Comment 1 Rui Matos 2011-04-13 10:52:53 UTC
Created attachment 185854 [details] [review]
GtkWindow: set mnemonics visible on focus in if modifier is pressed

With gtk-auto-mnemonics on, we hide mnemonics on focus out. We should also
check if the modifier is pressed on focus in and if so, show mnemonics again.
Comment 2 Rui Matos 2011-04-14 13:55:55 UTC
BTW, the patch is against git master. Please review, thanks.