Comment 468 for bug 1218322

Revision history for this message
Norbert (nrbrtx) wrote : RE: [Bug 1218322] Re: Can't set keyboard layout change to alt+shift, ctrl+shift, etc.

@ Aliaksandr
Please stop writing such phrases.
The bug is almost fixed in Ubuntu 14.04 in all sessions.

If you have concrete problems - write here about them, not holy war emotions.
Also you can quietly test your exotic <Right Control> layout switcher in other distros. You can help Ubuntu community to fix this bug too.

----Пользователь Aliaksandr Dzeshchanka написал ----

>Seems like it's a good time to drop sinking ship of ubuntu and move to
>some kind of Debian or Gentoo.
>
>--
>You received this bug notification because you are 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:
> Fix Released
>Status in “gnome-settings-daemon” package in Ubuntu:
> Triaged
>Status in “gnome-settings-daemon” source package in Saucy:
> Triaged
>Status in “gnome-control-center” package in ALT Linux:
> Unknown
>Status in “gnome-control-center” package in Baltix:
> Confirmed
>Status in “gnome-control-center” package in Gentoo Linux:
> Invalid
>Status in “gnome-control-center” package in Mandriva:
> Invalid
>
>Bug description:
> ***
> The old PPA, ppa:attente/1218322 is superceded by the following one. You can remove the old repository using ppa-purge.
> ***
>
> A PPA which should provide some relief for this issue is available at
> https://launchpad.net/~attente/+archive/modifier-only-input-switch. To
> install:
>
> sudo add-apt-repository ppa:attente/modifier-only-input-switch
> sudo apt-get update
> sudo apt-get upgrade
> (log out, log in)
>
> If the packages improve the situation for you, you can pin them using:
>
> sudo apt-mark hold compiz
> sudo apt-mark hold gnome-settings-daemon
> sudo apt-mark hold unity
>
> If the packages don't work for you, you can purge them using:
>
> sudo ppa-purge ppa:attente/modifier-only-input-switch
>
> === compiz ===
>
> Impact: modifier-only key bindings need to be independent of key-press
> order, there's no support for double tapping two modifier keys of the
> same type
>
> 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']"
> - holding left shift, press and release ctrl
> -> the current input source should change
>
> Regression potential: possible, but highly unlikely, that some key
> bindings may be triggered due to the removal of some code that would
> normally prevent a possible tap from occurring.
>
> === unity ===
>
> Impact: gnome-settings-daemon eats modifier-only shortcuts preventing
> them from propagating down to applications
>
> Test case:
> - open gnome-control-center's text input settings
> - set the next input source key binding to ctrl+left shift
> - open gnome-terminal
> - press ctrl+shift+t
> -> gnome-terminal should open a new tab
>
> Regression potential: the additional input switch key bindings could
> collide with other functionality such as opening the dash or hud
>
> === 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).
>
> ----------------------
> Recent discovered bugs related to keyboard layouts:
>    * keyboard layout settings must be consistent between gnome-control-center keyboard, indicator-keyboard and gnome-tweak-tool and /etc/default/keyboard (bug 1270574)
>    * Ubuntu 14.04 should have gnome-tweak-tool installed by default because of many settings that are missed gnome-control-center (bug 1270572)
>    * Please add ability to set keyboard shortcuts to unity-control-center launched from GNOME session FlashBack (Compiz and Metacity) (bug 1282637)
>    * Unable to rename new folder in GtkFileChooserDialog while changing keyboard layout (bug 1299519)
>
> 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)
>    * Shift must be pressed pressed first (bug 1266179)
>
> 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)
>    * Switching layout turns off NumLock (bug 1247668)
>    * Pressing keyboard shortcut to switch keyboard layout causes temporary loss of focus (bug 1244090)
> * Unity shortcuts (Super+A/F/M/C/V) do not work on non-latin layout in Trusty - shortcuts are defined via keyboard layout, not the keys (bug 1280759)
> * Binding ctrl+shift, alt+shift, etc for switching keyboard layout makes shortcuts with ctrl+shift, etc not working in any program (bug 1245473)
>
> ----------------------
>
> 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