Bug 698864

Summary: Key to change layout group is blocking other keyboard shortcuts
Product: [Fedora] Fedora Reporter: Michal Ambroz <rebus>
Component: xorg-x11-serverAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: mcepl, peter.hutterer, xgl-maint
Target Milestone: ---Keywords: Patch, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: [cat:conf_input]
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-03 00:21:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
proposed patch from Ubuntu Launchpad none

Description Michal Ambroz 2011-04-22 03:37:05 UTC
Description of problem:
Keyboard shortcut choosen for changing the keyboard layout group is blocking some other keyboard shortcuts. This is caused by the fact that the layout grouping change event is triggered on the key press not release (as common in other operating systems). 

Choosing the combination Alt+Shift (which is common in Windows) will block all other shortcuts using Alt+Shift - for example Alt+Shift+Tab which is used to switch windows backwards.

Choosing the combination Ctrl+Shift  (which is common in Windows) will block all other shortcuts using Ctrl+Shift - for example Ctrl+Shift+Tab, which is used to switch tabs in given window backwards.

I assume that all onther combinations suffer the same problem.

Version-Release number of selected component (if applicable):
Fedora 15
xorg-x11-server-Xorg-1.10.0-7.fc15.i686


How reproducible:
100%

Steps to Reproduce:
1. Run gnome-control-center / Choose Region and Language / Tab Layouts / Options
2. Modify "Keys(s) to change layout" to enable "Alt+Shift" or "Ctrl+Shift" respectively.
3. Try how changed the behaviour of "Alt+Shift+Tab" or "Ctrl+Shift+Tab" respectively.
  
Actual results:
"Alt+Shift+Tab" or "Ctrl+Shift+Tab"  stops working as "Alt+Shift" or "Ctrl+Shift" triggers the event on key press and not key release.

Expected results:
Alt+Shift Ctrl+Shift should change keyboard layout group.
Alt+Shift+Tab Ctrl+Shift+Tab should remain in operation as usual.

Additional info:
Patch has been applied to Ubuntu for the same.
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/711842

Comment 1 Matěj Cepl 2011-04-26 17:04:47 UTC
Created attachment 494997 [details]
proposed patch from Ubuntu Launchpad

Comment 2 Peter Hutterer 2011-05-03 00:21:44 UTC
Long standing upstream issue that won't be resolved anytime soon. The fix goes against the specification.

https://bugs.freedesktop.org//show_bug.cgi?id=865