Bug 274006 - Alt+Shift+Tab doesn't work when set as a shortcut
Summary: Alt+Shift+Tab doesn't work when set as a shortcut
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (show other bugs)
Version: 1.0
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 06:01 UTC by setessentos
Modified: 2011-06-29 04:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description setessentos 2011-05-24 06:01:43 UTC
Version:           1.0 (using KDE 4.4.5) 
OS:                Linux

When you set a shortcut action to Alt+Shift+Tab it doesn't work.

The only way to get the shorcut to work is to edit the configuration files directly and set it to Alt+Shift+Backtab 

Reproducible: Always

Steps to Reproduce:
1. Open Systemsettings
2. Select Keyboard and Mouse, then select Global Keyboard Shortcuts
3. In the dropdown menu next to KDE component select kwin
4. Set Window to Next Desktop to Alt+Shift+Tab by clicking it, selecting Custom then entering the input Alt+Shift+Tab
5. Hit apply

(I even tried logging out and in, incase that was the problem)

Actual Results:  
Pressing Alt+Shift+Tab does nothing

Expected Results:  
I would expect it to change to the next desktop, when set to other shortcuts it does.

OS: Linux (x86_64) release 2.6.32.40-20110513
Compiler: cc
Comment 1 Matthias Fuchs 2011-05-24 23:20:28 UTC
I also have the same problem with KDE 4.6.3.

What is interesting is that when I press "Alt + Shift + Tab" I jump between windows in backward order by default.

The default key sequence for this is named "Alt + Shift + Backtab", while when I want to add an own combination it will always be called "Alt + Shift + Tab" and won't work.
Comment 2 Simon Persson 2011-06-29 04:14:11 UTC
Git commit 6026c3a32056bdbae6964e25abf712870edf5aac by Simon Persson.
Committed on 29/06/2011 at 05:10.
Pushed by persson into branch 'master'.

Make global shortcuts involving shift+tab work

When entering (ctrl,alt,meta)+shift+tab as a new shortcut
KKeySequenceWidget gets "backtab" as the key pressed but records "tab".
kglobalaccel gets the keypress event as "backtab" which is correct but
only triggers shortcuts with "backtab" in them and such shortcuts are
not possible for the user to enter.

This commit makes kglobalaccel look for both tab and backtab when
triggered, same as Qt does. By triggering on both it also avoids
breaking peoples alt+shift+tab on upgrade.

BUG: 174142
BUG: 258467
BUG: 261296
BUG: 274006
CCMAIL: kde@michael-jansen.biz
REVIEW: 101523

M  +19   -2    kglobalaccel/globalshortcutcontext.cpp     

http://commits.kde.org/kde-runtime/6026c3a32056bdbae6964e25abf712870edf5aac