gnome-settings-daemon has problems recognizing the layout switching shortcut

Bug #1241284 reported by ryou ezoe
64
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Indicator keyboard
Invalid
Low
Unassigned
gnome-settings-daemon (Ubuntu)
Confirmed
Undecided
Unassigned
indicator-keyboard (Ubuntu)
Invalid
Low
Unassigned
unity-settings-daemon (Ubuntu)
Confirmed
High
Unassigned

Bug Description

After the upgrade to Ubuntu 13.10, I notice the iBus(or indicator-keyboard I'm not sure) does not recognize the keyboard shortcut.
After some trying, I find that iBus change the way it recognize the keyboard shortcut in an really strict way.

Suppose, I use Ctrl+Space for keyboard shortcut for iBus.
In order to make iBus recognizing the keyboard shortcut,
I must do following key sequence.

1. Press down Ctrl.
2. Press down Space.
3. Release Space

If, for example, after the step 2, released Ctrl before the release of Space, iBus doesn't recognize the keyboard shortcut regardless of how many seconds you press down both Ctrl and Space.

This change is so inconvenient for me as I have to constantly switching between English and Japanese(Mozc) while typing text.
(Unification of Keyboard Layout and IME is really bad idea, but that's another story.)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-keyboard (Ubuntu):
status: New → Confirmed
Revision history for this message
Hyung-joon Ahn (bigriot) wrote :

I'm constantly switching between Korean and English as well. I use alt+space ( I have never ever, not even once, been able to get super + space working) and like ryou described, the layout doesn't change unless the said key sequence is followed which for me results in the hud popping up constantly.

Revision history for this message
Stepan Roucka (rouckas) wrote :

I am having the same problem in the keyboard layout switching and I can observe also several other problematic keyboard shortcuts that are probably related to this bug. For example the interpretation of Alt and Shift keys depends on the key order. When I press left Alt and then right Alt, it is interpreted as
Alt+Alt R on English (US)
Alt+Level3 Shift on Czech (qwerty)
The right Alt and then left Alt is interpreted as
Alt+Alt L on English (US)
Alt L on Czech (qwerty)

Similarly with my favorite keyboard switching combination left Alt + left Shift, which is interpreted as Alt+Shift L or Shift+Alt L. But these shortcuts don't work at all for keyboard layout switching.

Revision history for this message
Stepan Roucka (rouckas) wrote :

Update: after second reboot after system installation, the Alt+Shift keyboard shortcut started working regardless of the keypress order.

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

I have the same problem.

My keyboard combination to switch layouts is Super+space. If I do:

1) Press Super
2) Press Space
3) Release Super
4) Release Space

...the keyboard layout isn't changed, the steps (3) and (4) need to happen in the opposite order for the layout to be changed.

So people typing fast can't use ibus to change layouts.

Revision history for this message
Alkis Georgopoulos (alkisg) wrote : Re: gnome-settings-daemon has problem recognizing the keyboard shortcut

I uninstalled ibus and I still had the problem.
I think the Win+Space shortcut to change layouts is handled by gnome-settings-daemon, so I've put it in the Affects list.

I also think it's a bad idea to have a DE-specific way to change keyboard layouts, because then we'd need to press e.g. Win+Space in Gnome and Alt+Shift in a real console (vt), which is inconsistent...

gnome-settings-daemon should at least respect the xkb shortcut to change keyboard layouts like it used to until now.

no longer affects: ibus (Ubuntu)
summary: - iBus has problem recognizing the keyboard shortcut
+ gnome-settings-daemon has problem recognizing the keyboard shortcut
summary: - gnome-settings-daemon has problem recognizing the keyboard shortcut
+ gnome-settings-daemon has problems recognizing the layout switching
+ shortcut
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-settings-daemon (Ubuntu):
status: New → Confirmed
Aron Xu (happyaron)
affects: gnome-settings-daemon (Ubuntu) → unity-settings-daemon (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Is that still an issue in trusty? The keybindings grabbing is now done in compiz and those issues should be resolved

Changed in unity-settings-daemon (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Changed in indicator-keyboard (Ubuntu):
status: Confirmed → Invalid
importance: Undecided → Low
Changed in indicator-keyboard:
status: New → Invalid
importance: Undecided → Low
Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

@seb128: it's still an issue in Trusty + gnome-flashback + metacity, which is the default environment for Edubuntu/LTSP (netbooted clients).

Changed in unity-settings-daemon (Ubuntu):
importance: Low → High
status: Incomplete → Confirmed
Revision history for this message
Rolf Leggewie (r0lf) wrote :

> (Unification of Keyboard Layout and IME is really bad idea, but that's another story.)

Yes, indeed, I also felt that was a bad choice. Is there a bug ticket already open about this?

Revision history for this message
Rolf Leggewie (r0lf) wrote : Re: [Bug 1241284] Re: gnome-settings-daemon has problems recognizing the layout switching shortcut

On 03.04.2014 19:32, Rolf Leggewie wrote:
>> (Unification of Keyboard Layout and IME is really bad idea, but that's another story.)
>>
> Yes, indeed, I also felt that was a bad choice. Is there a bug ticket
> already open about this?

I've taken the liberty to report bug 1302318. Feel free to weigh in there.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed
Revision history for this message
Norbert (nrbrtx) wrote :

Got this problem in Ubuntu 16.04 with GNOME FlashBack session (both Compiz and Metacity).
Set <Alt+Shift>, but it does not switch layouts.

tags: added: keyboard-layout-switching-hotkeys trusty xenial
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.