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 697161 - input method switch in gnome-shell sometimes hard to trigger
input method switch in gnome-shell sometimes hard to trigger
Status: RESOLVED DUPLICATE of bug 697008
Product: gnome-settings-daemon
Classification: Core
Component: media-keys
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2013-04-03 06:15 UTC by Peng Wu
Modified: 2013-04-03 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peng Wu 2013-04-03 06:15:03 UTC
Recently we received a bug report about input method switching.
Sometimes the input method switch is hard to trigger if the user press the shortcut key very quickly.

I just find a key press sequence to re-produce this bug very easily:
1. Configure the switch-input-source short cut key to Ctrl+Space;
2. Press Ctrl, Press Space, Release Ctrl, Release Space;

With the above sequence, the input method switch can't be trigger in gnome-shell,
 but XFCE is okay.
I guess in XFCE the input method switch is handled by ibus-ui-gtk3,
in gnome-shell 3.6, this is handled by gnome-settings-daemon.

In ibus panel, I think its logic is like follow:
1. detect the shortcut key when the key is pressed;
2. when the key press event is received, check whether the modifier key is still in pressed state;
3. if so, the shortcut key is activated;

The original bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=924046
Comment 1 Rui Matos 2013-04-03 13:00:12 UTC
Yes, I've actually been working on this the past few days.

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