[Bug 1762952] Re: Alternative shortcut for layout switching Alt+Shift unexpectedly set by default
Alkis Georgopoulos
1762952 at bugs.launchpad.net
Tue Aug 18 09:59:33 UTC 2020
Hi, this fix caused a regression in ubiquity: LP: #1892014
Ubiquity doesn't put alt_shift_toggle in XKBOPTIONS anymore, so we
cannot switch to e.g. Greek using Alt+Shift, after going through a
normal installation (or even in the live session).
Are users expected to manually run `dpkg-reconfigure keyboard-
configuration` right after a GUI installation of Ubuntu?
E.g. ubuntu-mate-18.04.2-desktop-amd64.iso is affected while 18.04.1
isn't.
Should this issue be resolved in console-setup or in ubiquity?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to console-setup in Ubuntu.
https://bugs.launchpad.net/bugs/1762952
Title:
Alternative shortcut for layout switching Alt+Shift unexpectedly set
by default
Status in console-setup package in Ubuntu:
Fix Released
Status in gnome-control-center package in Ubuntu:
Invalid
Status in console-setup source package in Bionic:
Fix Released
Status in gnome-control-center source package in Bionic:
Invalid
Bug description:
[Impact]
The keyboard-configuration package provides a tool for configuring the
keyboard via /etc/default/keyboard. However, there are desktop GUIs
which provide such tools as well, and in the case of gnome-control-
center it has another idea of what /etc/default/keyboard should
contain. In short: The different tools don't play well together.
The proposed upload does not claim to fix all issues with this
incompatibility. But one of the annoyances is that a pure upgrade of
the keyboard-configuration package may result in a changed keyboard
configuration without the user asking for it. The proposed upload does
address that particular issue on desktop systems.
[Test Case]
1. On an Ubuntu 18.04 system, make sure that the contents of
/etc/default/keyboard is 'the g-c-c style', for instance:
XKBLAYOUT=se,us
BACKSPACE=guess
XKBVARIANT=,
2. Reboot.
3. Upgrade to the version of the keyboard-configuration package in
bionic-proposed.
=> Find that /etc/default/keyboard was not changed through the
upgrade.
4. Run the command
sudo dpkg-reconfigure keyboard-configuration
=> Find that you are now offered to change your keyboard
configuration.
[Regression Potential]
As a result of this upload, and unlike before, no keyboard
configuration will happen behind the scenes on a desktop system due to
an upgrade of the keyboard-configuration package. This is the desired
change, and I can't think of a case when a user would want the
configuration to be changed without having asked for it.
[Original description]
Version: Ubuntu 18.04 Final Beta with default Gnome Shell included in
18.04
Steps to reproduce:
1. Define two keyboard input methods in Settings -> Region & Language -> Input Sources
2. Open several applications
3. Observe that application windows can be iterated with Alt + Tab
4. Once application window iteration was begun with Alt + Tab, try to iterate backwards with Alt + Shift + Tab.
5. Try to change keyboard input method switching hotkeys in Settings -> Region & Language -> Input Sources -> Options.
6. Observe that Keyboard shortcut for "Alternative switch to next source" is set to "Alt + Shift" and that keyboard shortcuts can only be changed in Settings -> Devices -> Keyboard -> Keyboard Shortcuts.
7. Observe that the shortcut for "Alternative switch to next source" is not available for configuration in Settings -> Devices -> Keyboard -> Keyboard Shortcuts.
Actual state:
* Performing step 4 does not select the previous app in application switcher but instead changes keyboard input method.
Expected state:
* The shortcut for "Alternative switch to next source" can be changed and / or deactivated in Settings -> Devices -> Keyboard -> Keyboard Shortcuts.
Notes:
* The above was working fine in Ubuntu 17.10. I assume "Alternative switch to next source" did not exist in that version of Gnome Shell.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/1762952/+subscriptions
More information about the foundations-bugs
mailing list