Bug 182873 - Can't set window shortcut key with keyboard only
Summary: Can't set window shortcut key with keyboard only
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 226628 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-02 15:39 UTC by Christoph Lange
Modified: 2010-11-10 23:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
fixing patch (4.13 KB, patch)
2010-10-06 18:53 UTC, Thomas Lübking
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Lange 2009-02-02 15:39:04 UTC
Version:            (using KDE 4.2.0)
Compiler:           gcc 4.1.2 
OS:                Linux
Installed from:    Gentoo Packages

I assigned Meta+Shift+Space as a shortcut for the action "set window shortcut" (which is usually available in the "advanced" window menu).  I would like to define window shortcuts by using the keyboard only, which used to work in KDE 3.5 but no longer does in 4.2.  When I execute "set window shortcut", no button in the small popup is focused.  I am able to focus the button for defining the shortcut by pressing Shift+Tab twice, and then I can push it down using Space, and then I can hit the desired shortcut.  Then, however, ...

* the shortcut is not yet defined for the window
* the popup stays open
* the input focus is no longer in the popup but in the client area of the window
* certain global keyboard shortcuts (like Alt+Tab) no longer work

The only way of finally setting the shortcut and closing the popup is by clicking "OK" with the mouse.
Comment 1 Michael Jansen 2009-12-07 23:03:32 UTC

*** This bug has been marked as a duplicate of bug 211791 ***
Comment 2 Thomas Lübking 2010-10-06 18:53:48 UTC
Created attachment 52285 [details]
fixing patch

the attched patch fixes this
Comment 3 Thomas Lübking 2010-10-06 18:57:04 UTC
*** Bug 226628 has been marked as a duplicate of this bug. ***
Comment 4 Thomas Lübking 2010-11-10 23:27:44 UTC
SVN commit 1195365 by luebking:

improve keyboard navigation of the window shortcut dialog, add a conflict warning
kkeysequencewidget only needs the pushbutton as focusproxy
BUG: 182873
BUG: 251297


 M  +33 -7     kdebase/workspace/kwin/utils.cpp  
 M  +3 -0      kdebase/workspace/kwin/utils.h  
 M  +1 -0      kdelibs/kdeui/widgets/kkeysequencewidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1195365