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 661707 - Pressing extended key closes keyboard
Pressing extended key closes keyboard
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: keyboard
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-10-13 19:53 UTC by Nohemi
Modified: 2011-10-20 17:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add corner case for pressing extended key (1.07 KB, patch)
2011-10-13 19:54 UTC, Nohemi
none Details | Review
Add corner case for pressing extended key (1.08 KB, patch)
2011-10-13 20:07 UTC, Nohemi
committed Details | Review
Record previous focus, in order to determine whether a key with extended keys has been pressed (1.65 KB, patch)
2011-10-20 17:45 UTC, Nohemi
none Details | Review

Description Nohemi 2011-10-13 19:53:13 UTC
As stated in summary.
Comment 1 Nohemi 2011-10-13 19:54:06 UTC
Created attachment 198966 [details] [review]
Add corner case for pressing extended key
Comment 2 Nohemi 2011-10-13 20:07:23 UTC
Created attachment 198970 [details] [review]
Add corner case for pressing extended key

Also check if focus._key is set, otherwise will return an exception
Comment 3 Nohemi 2011-10-20 17:45:57 UTC
Created attachment 199560 [details] [review]
Record previous focus, in order to determine whether a key with extended keys has been pressed

As it turns out the previous patch does not help this case. I thought it was working in the overview and then I realized that the overview stayed open when pressing an extended key anyways. So, I logged the focus and realized that there is no way to tell at the moment what keys are extended keys, since focus switches to Clutter.Stage at that point. If we grab the previous focus, however, we can at least tell whether a key with extended keys has been pressed.