I attached patch from ArchLinux AUR (https://aur.archlinux.org/packages
/xorg-server-bug865/, https://aur.archlinux.org/cgit/aur.git/tree
/freedesktop-bug-865.patch?h=xorg-server-bug865 ). This patch is stable
and reliable. ArchLinux users are happy with it.

It fixes current bug on Ubuntu Bionic Beaver 18.04 LTS.
I have tested it with <Ctrl+Shift> keyboard layout switcher on GNOME 
(DESKTOP_SESSION="ubuntu") and MATE desktop (DESKTOP_SESSION="mate").


Please kindly review it and consider applying it before official final release 
of 18.04 LTS.
I'm ready to test proposed packages which (I hope) you would create.
As the result Ubuntu users will be as happy as ArchLinux's users.

** Patch added: "Patch for Bionic Beaver 18.04 LTS, it fixes the problem"
   
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1683383/+attachment/5072290/+files/freedesktop-bug-865.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1683383

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts (reopen)

Status in X.Org X server:
  Confirmed
Status in xorg-server package in Ubuntu:
  Confirmed
Status in xorg package in Debian:
  New

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_on_release.diff) has been removed from X.Org
  1.19 packages. There is an updated patch in the upstream ticket
  https://bugs.freedesktop.org/show_bug.cgi?id=865 (link to the
  attachment: https://bugs.freedesktop.org/attachment.cgi?id=129861).

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: xserver-xorg-core 2:1.19.3-1ubuntu1
  Uname: Linux 4.9.0-22.1-liquorix-amd64 x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1683383/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to