Bug 258467

Summary: Switch to Previous Desktop does not work with Meta+Shift+Tab shortcut
Product: [Plasma] plasma4 Reporter: Piotr Budny <piotr.budny+bugskde>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Piotr Budny 2010-12-01 09:33:38 UTC
Version:           unspecified (using KDE 4.5.4) 
OS:                Linux

Switching to previous desktop does not work with specified shortcut: WinKey (Meta)+Shift+Tab



Reproducible: Always

Steps to Reproduce:
1) In multiple virtual desktops setting, virtual desktops, "Switching" tab, go to Actions for Desktop Switching and set "Meta+Shift+Tab" shortcut for "Switch to Previous Desktop"
2) press this shortcut

Actual Results:  
nothing happens

Expected Results:  
switching to prev desktop

switch to next desktop with Meta+Tab works;
i686, PLD-Linux
Comment 1 Piotr Budny 2011-01-30 21:09:06 UTC
Still in 4.6
Comment 2 Piotr Budny 2011-03-02 21:14:09 UTC
It seems, that kglobalshortcuts systemsettings module can't set "Meta+Shift+Backtab" for "Switch to Previous Desktop=Meta+Shift+Backtab,none,Przełącz na poprzedni pulpit"

First of all, it sets "Tab", not "Backtab", secondly, it assigns shortcut to previous activity, not previous desktop.
Comment 3 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