"Modifiers-only switch to next source" does not work correctly

Bug #1224577 reported by Ross Brunton
52
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Ubuntu GNOME
New
Undecided
Unassigned

Bug Description

In the keyboard settings and gnome-tweak-tool there is a setting labeled "Modifiers-only switch to next source" which provides a keyboard shortcut to switch layout using only modifiers (I use RCTRL+RSHIFT). This is a distinct setting from the normal keyboard shortcut (Default SUPER+SPACE) which works fine for me.

The problem is with the modifiers-only switch. Pressing the key combination looks like it changes the current layout; the shell's icon changes, the org.gnome.desktop.input-sources.current dconf value changes as well, and setxkbmap -query outputs what I think is a correct value.

However, when typing, the keyboard is interpreted as English (UK), unless it is supposed to be English (UK), in which case it is English (US). And types the appropriate keys for that layout.

Changing the input source using the non-modifiers-only combination, as well as the gnome-shell UI works as expected. Using setxkbmap to change it also works, but the new value must be different.

My default input for the entire system is "Dvorak (UK, with UK Punctuation)":
    $ setxkbmap -query
    rules: evdev
    model: pc105
    layout: gb,gb,us
    variant: dvorakukp,,
    options: terminate:ctrl_alt_bksp,caps:none,ctrl:nocaps,grp:rctrl_rshift_toggle

Whilst the default input for my user (with Dvorak being the second) is "English (UK)":
    $ setxkbmap -query
    rules: evdev
    model: pc105
    layout: gb,us
    variant: ,
    options: terminate:ctrl_alt_bksp,caps:none,ctrl:nocaps,grp:rctrl_rshift_toggle

I have tried numerous combinations of multiple layouts, and used a sandbox user, all have the same symptoms.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: gnome-control-center 1:3.8.3-0ubuntu1~raring2 [origin: LP-PPA-gnome3-team-gnome3-staging]
ProcVersionSignature: Ubuntu 3.11.0-7.13-generic 3.11.0
Uname: Linux 3.11.0-7-generic x86_64
ApportVersion: 2.12.1-0ubuntu3
Architecture: amd64
Date: Thu Sep 12 17:10:04 2013
MarkForUpload: True
SourcePackage: gnome-control-center
UpgradeStatus: Upgraded to saucy on 2013-03-29 (167 days ago)
usr_lib_gnome-control-center:
 deja-dup 27.3.1-0ubuntu1
 gnome-control-center-unity 1.3daily13.06.19~13.04-0ubuntu1

Revision history for this message
Ross Brunton (ross-brunton) wrote :
Revision history for this message
Ross Brunton (ross-brunton) wrote :

I have upgraded to the latest version of everything (GCC 1:3.9.91-0ubuntu1~saucy1, GSD 3.9.91.1-0ubuntu1~saucy1), and now the modifiers only thing does not change the shell indicator or anything in setxkbmap, yet still somehow sets it to English (UK).

Revision history for this message
Dmitriy (dima-matters) wrote :

I have this problem too.

Revision history for this message
Алексей Капранов (Alex Kapranoff) (kkapp) wrote :

grp:rctrl_rshift_toggle in xkb options conflicts with the Gnome rctrl_rshift handler.

Remove it from xkb options.

Revision history for this message
Stan Angeloff (stanangeloff) wrote :

I use 'Ctrl' to change my layouts and I am experiencing the same issue:

~ ➜ setxkbmap -query
rules: evdev
model: evdev
layout: us,gb
variant: ,
options: altwin:left_meta_win,grp_led:caps,grp:caps_toggle

Press [Caps Lock] to change layout:

~ ➜ setxkbmap -query
rules: evdev
model: evdev
layout: bg,gb,us
variant: phonetic,,
options: altwin:left_meta_win,grp_led:caps,grp:caps_toggle

Tweak tool configuration:

Everything 'Disabled' except
Key(s) to change layout: 'Caps Lock'
Use keyboard LED to show alternative layout: 'Caps Lock'
Alt/Win key behaviour: 'Meta is mapped to Left Win'.

Revision history for this message
Stan Angeloff (stanangeloff) wrote :

The above should have been 'I use Caps Lock...', sorry.

Revision history for this message
androith (androith) wrote :

In 13.10 the "modifiers-only switch to next source" option is missing completely.

Revision history for this message
androith (androith) wrote :

I should add the package versions:

$ apt-cache policy gnome-control-center

gives

gnome-control-center:
  Installed: 1:3.6.3-0ubuntu45.1
  Candidate: 1:3.6.3-0ubuntu45.1
  Version table:
 *** 1:3.6.3-0ubuntu45.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ saucy-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:3.6.3-0ubuntu44 0
        500 http://us.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages

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.