Bug 258467 - Switch to Previous Desktop does not work with Meta+Shift+Tab shortcut
Summary: Switch to Previous Desktop does not work with Meta+Shift+Tab shortcut
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-01 09:33 UTC by Piotr Budny
Modified: 2011-06-29 04:14 UTC (History)
0 users

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 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