Bug 251297

Summary: No feedback when window shortcut key conflicts
Product: [Plasma] kwin Reporter: Christoph Lange <langec>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christoph Lange 2010-09-15 11:40:32 UTC
Version:           4.4 (using KDE 4.4.5) 
OS:                Linux

Not sure if this should go into kwin instead.

When some key combination K is already set up as a global shortcut for some application (be that application running or not), I can't set up K as a window shortcut key.  The button that expects me to input the shortcut sequence immediately jumps back to "None".  I.e. I don't get the kind of feedback that I get in other similar situations, i.e. a dialog informing me that that shortcut is already used, and asking whether I'd like to reassign it.

If the application for which K has been set up is not running, I do not even see any feedback in ~/.xsession-errors when pressing that sequence.

The only way to find out what application K had been set up was going to the global keyboard shortcut configuration in system settings and trying to assign K to some random action.  There, I got a warning that K was already in use.

Reproducible: Always
Comment 1 Christoph Feck 2010-09-15 11:52:52 UTC
> I don't get the kind of feedback that I get in other similar situations

You are right, the standard shortcuts editor checks this situation and shows the "conflict" message. Using kwin's menu item "Window Shortcut..." there is no such message, and this is a kwin bug.
Comment 2 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