Public bug reported:

I know there are a lot of bugs on the text entry source keyboard switch
shortcut. I hope this is not a duplicate. I couldn't find it reported
anywhere.

The problem: Specifying keys such as "Shift L", "Shift R", "Alt L", "Alt
R", "Ctrl L", and "Ctrl R" in the "Switch to next source using" box does
not always limit the switch to being executed to the specified key, in
other words, if you specified to use "Key L", sometimes "Key R" will
execute the language switch, and vice versa. This occurs in the
following cases:

I have two input languages selected:

Primary: English (US)
Secondary (Swedish)

0. Set keyboard switch to "Alt+Shift L" (use "Alt L" to define the
shortcut, not sure if this matters, but just in case)

1. Press "Alt L+Shift L" ("Alt L" first and "Shift L" second)
1.1 Note that language input switches to the next source -- All good so far

2. Press "Alt L+Shift L" again in the reverse order ("Shift L" first and "Alt 
L" second)
2.1 Note that language input switches to the next source -- This is OK, order 
shouldn't matter

3. Press "Alt L+Shift R" ("Alt L" first and "Shift R" second)
3.1 Note that language input does not switch to the next source -- It shouldn't 
since we specified to use "Shift L", not Shift R", so this is still good

4. Press "Alt L+Shift R" again in the reverse order ("Shift R" first and "Alt 
L" second)
4.1 Note that language input switches to the next source -- This is not good, 
"Shift R" should not execute the switch since we specifically defined the 
shortcut to use "Shift L"

5. Press "Alt R+Shift L" ("Alt R" first and "Shift L" second)
5.1 Note that language input switches to the next source under specific 
conditions (only if you are switching from primary to secondary language, not 
vice versa) -- This is not good, it should switch every time

6. Press "Alt R+Shift L" again in the reverse order ("Shift L" first and "Alt 
R" second)
6.1 Note that language input switches to the next source under specific 
conditions (only if you are switching from primary to secondary language, not 
vice versa) -- This is not good, it should switch every time

7. Press "Alt R+Shift R" ("Alt R" first and "Shift R" second)
7.1 Note that language input does not switch to the next source -- It 
shouldn't, so this is good

8. Press "Alt R+Shift R" again in the reverse order ("Shift R" first and "Alt 
R" second)
8.1 Note that language input switches to the next source under specific 
conditions (only if you are switching from primary to secondary language, not 
vice versa) -- This is not good, "Shift R" should not execute the switch since 
we specifically defined the shortcut to use "Shift L"

In summary if you define the shortcut to be "Alt+Shift L" problems occur
when pressing in 4 out of 8 combinations (order included):  "Alt L+Shift
R" (Shift-key first), "Alt R+Shift L" (Shift-key first), "Alt R+Shift L"
(Alt-key first), and "Alt R+Shift R" (Shift-key first).

Now, finally you can repeat this exercise for any permutation of
combinations of the Shift L", "Shift R", "Alt L", "Alt R", "Ctrl L", and
"Ctrl R" keys (set shortcut to "Alt L+Shift", "Alt+Ctrl L", "Alt
L+Ctrl", ..., "Shift+Ctrl R", "Shift R+Ctrl") and you'll find similar
problems, but not always identical to the behaviour outlined above.
However, I have not had the desired to map this all out :-) Hopefully
the example above, with "Alt+Shift L", will be enough to round up the
problem in the code.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: gnome-control-center 1:3.6.3-0ubuntu45.1
ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
Uname: Linux 3.11.0-14-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Wed Dec  4 15:17:19 2013
InstallationDate: Installed on 2013-10-26 (39 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_gnome-control-center:
 activity-log-manager          0.9.7-0ubuntu4
 deja-dup                      27.3.1-0ubuntu1
 gnome-control-center-datetime 13.10.0+13.10.20131023.2-0ubuntu1
 gnome-control-center-signon   0.1.7~+13.10.20130724.1-0ubuntu1
 gnome-control-center-unity    1.3+13.10.20131004-0ubuntu1

** Affects: gnome-control-center (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug saucy

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1257920

Title:
  Left/right Ctrl/Alt/Shift key limitation not respected for language
  input shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1257920/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to