Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts (reopen)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
X.Org X server |
New
|
Unknown
|
|||
xorg (Debian) |
New
|
Unknown
|
|||
xorg-server (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
From duplicate bug 1720364 report.
Steps to reproduce:
1. Install ubuntu-mate-desktop on Ubuntu 16.04 LTS with HWE (Xorg 1.19.5), or 17.10 or 18.04 LTS.
2. Set-up two keyboard layouts - English and Russian
3. Set <Ctrl+Shift> as keyboard layout switcher in mate-control-center
4. Try to use shortcuts starting from <Ctrl+Shift>:
4.1. Open Firefox, open new tab, go to some site in it, close tab, try to click <Ctrl+Shift+T> to restore closed tab.
4.2. Open mate-terminal, try to open new tab with <Ctrl+Shift+T>, or copy (<Ctrl+Shift+C>), or paste (<Ctrl+Shift+V>).
4.3. Open pluma, write some text, try to navigate in it with <Ctrl+Shift+arrow>.
Expected results:
<Ctrl+Shift> switches keyboard layout, shortcuts starting from <Ctrl+Shift+...> work normally.
Actual results:
<Ctrl+Shift> switches keyboard layout, shortcuts starting from <Ctrl+Shift+...> do not work.
Notes:
1. Ubuntu 16.04 LTS (Xorg 1.18.4) with Marco and Compton work normally with <Ctrl+Shift> keyboard layout switcher.
2. This problem was discovered before on 13.10, 14.04 and other modern versions with GNOME desktop (Metacity and Compiz) - see bug 1245473.
-------
Original description below:
This is a reopen of bug #36812, which has reappeared in Kubuntu 17.04 Zesty Zapus.
This is a bug about shortcuts mapped to combinations which include each other.
For example, if we have Ctrl+Shift (for keyboard layout) and Ctrl+Shift+N (to open a new terminal), then we are practically unable to use the second shortcut; this is what happens:
Ctrl press (nothing happens)
Shift press (keyboard layout change)
N (a simple N appears, since a shortcut has already fired)
The expected behavior is to fire shortcuts on the release (not on press) of the special keys (ctrl,shift,alt, etc) which is also how Windows behave. This is a serious problem for bilingual layouts, typically using Alt+Shift or Ctrl+Shift for keyboard layout change.
Apparently, the bug has reappeared after the patch that used to fix the problem (208_switch_
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: xserver-xorg-core 2:1.19.3-1ubuntu1
Uname: Linux 4.9.0-22.
NonfreeKernelMo
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Apr 17 17:46:35 2017
InstallationDate: Installed on 2015-05-01 (716 days ago)
InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: xorg-server
UpgradeStatus: Upgraded to zesty on 2017-04-16 (1 days ago)
Changed in xorg-server (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in xorg-server: | |
importance: | Unknown → High |
status: | Unknown → In Progress |
Changed in xorg-server: | |
status: | In Progress → Confirmed |
Changed in xorg-server (Ubuntu): | |
assignee: | nobody → Alex (alexvaa) |
Changed in xorg (Debian): | |
status: | Unknown → New |
Changed in xorg-server: | |
status: | Confirmed → Unknown |
tags: |
added: cosmic disco eoan removed: artful |
tags: | removed: cosmic |
tags: |
added: focal hirsute impish jammy removed: xenial |
Changed in xorg-server (Ubuntu): | |
assignee: | Alex (alexvaa) → nobody |
tags: | removed: hirsute |
Changed in xorg-server: | |
status: | Unknown → New |
tags: | removed: impish |
tags: | added: kinetic |
Status changed to 'Confirmed' because the bug affects multiple users.