← Back to team overview

aims team mailing list archive

[Bug 1218322] Re: Can't set keyboard layout change to alt+shift, ctrl+shift, etc.

 

Hello, William Hua!

Thank you for your great work on fixing bug 1218322.

It seems that we need a set of rules for adding tag verificiation-done
for this bug. And we need a set of rules to mark it as fully fixed.

I already mentioned in bug description that I created a Google Docs
table for testing different keyboard shortcuts for changing keyboard
layout (it is here -
https://docs.google.com/spreadsheet/ccc?key=0Ao5e713Ig9g_dEJrX2NRYlpLWWVzSWxsVXU4ck9HYVE&usp=sharing).

In this document I prepared a list of known hotkeys (some from 'gnome-
control-center keyboard' of Ubuntu 12.04.3 with GNOME 3.4.2, some of
them were mentioned in comments for bug).

Ubuntu 14.04 will be LTS and will be available in the next 6 month. So users of 12.04 LTS may want to update to it.
I think that the best solution of keyboard layout switching problems will be to emulate "Keyboard Layout Options" (gnome-control-center keyboard in 12.04). Have you ever seen it?

Some of hotkeys, which were mentioned in comments of bug 1218322 are non-standard. They are: 
* Ctrl+Space
* Ctrl+Shift+Space
* Shift+Space
* Super+Shift
* Ctrl+Alt+Space
* Alt+Shift+Space
* Ctrl+Super
* Shift+Backspace
* Shift+Ctrl+Alt

The hotkeys which are listed in gnome-control-center of Ubuntu 12.04 and mentioned in comments are:
* Alt+Caps Lock
* Alt+Ctrl
* Alt+Shift
* Alt+Space
* Any Win key (while pressed)
* Both Alt keys together
* Both Ctrl keys together
* Both Shift keys together
* Caps Lock
* Caps Lock (to first layout), Shift+Caps Lock (to last layout)
* Ctrl+Shift
* Menu (has a conflict with right mouse click emulation)
* Shift+Caps Lock

The full list of 12.04 hotkeys are available in gnome-control-center keyboard or in my comment ( https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1218322/comments/216).
It seems, that current realization of layout switching hotkeys definition in 13.10 make possible to define some of that hotkeys.


I think that bug 1218322 can be marked as fixed only if all hotkeys for layout switching that may be set with current next-source<->previous-source logic:
1. can be set ;
2. can be used in Unity session and in GNOME FlashBack session (with and without effects) and in Ubuntu GNOME ;
3. do not brake other shortcuts (for example, Ctrl+Shift must allow to use Ctrl+Shift+C/V in gnome-terminal, use Ctrl+Shift+arrows for text selecting, etc.).

So we need testers that can verify that all possible hotkeys are working
normally. Test results may be written in Google Docs table.

-- 
You received this bug notification because you are a member of AIMS,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1218322

Title:
  Can't set keyboard layout change to alt+shift, ctrl+shift, etc.

Status in Gnome Settings Daemon:
  Invalid
Status in Ubuntu GNOME:
  Confirmed
Status in “gnome-control-center” package in Ubuntu:
  Triaged
Status in “gnome-settings-daemon” package in Ubuntu:
  Triaged
Status in “gnome-settings-daemon” source package in Saucy:
  Triaged

Bug description:
  A PPA which should provide some relief for this issue is available at
  https://launchpad.net/~attente/+archive/1218322. There still remain
  issues regarding keyboard shortcuts though. To install:

  sudo add-apt-repository ppa:attente/1218322
  sudo apt-get update
  sudo apt-get upgrade

  === gnome-control-center ===

  Impact: the UI to change the layout switching keys doesn't work

  Test case:
  - open gnome-control-center's text input settings
  - click on the "next layout key" entry
  - try entering a key combinaison (e.g ctrl-space)
  -> the UI should reflect the new keys

  Regression potential: that UI was not working before, it should only
  be an improvement (some key combos are not working as expected, that's
  another issue and shouldn't be mixed with this one)

  === gnome-settings-daemon ===

  Impact: attempting to change keyboard layouts using only modifier keys
  doesn't work

  Test case:
  - add at least two input sources through gnome-control-center's text entry settings
  - use gsettings to set the input switching shortcut to ctrl+left shift: gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Primary>Shift_L']"
  - press and release ctrl+left shift
  -> the current input source should change

  Regression potential: The input switching shortcut might capture other
  non-modifier shortcuts, but users will need to consider this when
  choosing their switching shortcut anyways. For users this bug affects,
  this represents a working solution for a critical bug.

  ----------------------

  Test results for different keyboard layout change hotkeys may be
  viewed and added in the Google Docs table, created by Norbert
  (https://docs.google.com/spreadsheet/ccc?key=0Ao5e713Ig9g_dEJrX2NRYlpLWWVzSWxsVXU4ck9HYVE&usp=sharing).

  ----------------------

  Separate bug reports for individual layout switching hotkey
  combinations:

  Super+Space and Shift+Super+Space:
     * Unity greeter (bug 1245137);
     * Unity session (bug 1245136);
     * lock screen - gnome-screensaver (bug 1245138, bug 1245256);
     * ubiquity installer (bug 1242572).

  Alt+Shift:
     * Unity greeter (bug 1245258)
     * Can't set keyboard layout change to Alt+Shift (bug 1245926)

  Ctrl+Shift:
     * lock screen - gnome-screensaver (bug 1245270)
     * Unity greeter (bug 1245268)
     * Can't set keyboard layout change to Ctrl+Shift (bug 1245991)
     * If keyboard layout switching hotkey is set to Ctrl+Shift, Ctrl+Shift+C/V are not working in gnome-terminal (bug 1246656)

  Shift+Shift:
     * Can't set keyboard layout change to Shift+Shift (bug 1245272)
     * lock screen - gnome-screensaver (bug 1245278)
     * Unity greeter (bug 1245280)

  Bugs which belong to keyboard layout switching:
     * Hotkeys not functional in non-latin keyboard layout in 13.10 (bug 1226962)
     * Keyboard Layout Options window is missed in gnome-control-center keyboard (bug 1245064)
     * Unable to set keyboard LED to show alternative layout in gnome-control-center keyboard in Saucy (bug 1245188)
     * Unable to set Miscellaneous compatibility options in gnome-control-center keyboard in Saucy (bug 1245199)
     * Keyboard shortcut for changing keyboard layout does not work on lock screen (bug 1244548)
     * [FFe] indicator-keyboard not working under greeter (bug 1228207)
     * Lost ability to remap Caps Lock to Ctrl (bug 1215826)
     * gnome-control-center keyboard no longer has way to modify caps lock key behavior (bug 1224575)
     * Pressing Caps Lock toggles LED even when mapped to another key (bug 1221403)

  ----------------------

  Can't set keyboard layout change to ctrl+shift, Caps Lock, alt+shift
  etc. "Shift", "CapsLock" keys are just ignored in settings. Also the
  default shortcut was set to "Super+Space" that is inconveniently,
  because Dash is opening when you swich your keyboard layout.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: indicator-keyboard 0.0.0+13.10.20130829.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-2.5-generic 3.11.0-rc5
  Uname: Linux 3.11.0-2-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.12.1-0ubuntu2
  Architecture: amd64
  Date: Thu Aug 29 14:21:54 2013
  InstallationDate: Installed on 2013-07-31 (28 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130730)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=ru_UA:ru
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=ru_UA.UTF-8
   SHELL=/bin/bash
  SourcePackage: indicator-keyboard
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-settings-daemon/+bug/1218322/+subscriptions