Bug 251297 - No feedback when window shortcut key conflicts
Summary: No feedback when window shortcut key conflicts
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:
Depends on:
Blocks:
 
Reported: 2010-09-15 11:40 UTC by Christoph Lange
Modified: 2010-11-10 23:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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