Bug 57711

Summary: "Reclaim keyboard shortcut" button wanted
Product: [Unmaintained] kcontrol Reporter: jozef.behran
Component: kcmkeysAssignee: Ellis Whitehead <ellis>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: l.lunak
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jozef.behran 2003-04-25 17:42:29 UTC
Version:           2.1.5 (using KDE KDE 3.1)
Installed from:    Mandrake RPMs
OS:          Linux

(This request may apply on the KDE base but I got this issue when configuring kdevelop so therefore it's here)

Imagine this situation: When configuring keyboard shortcuts I select an action (say ABC) from the menu and say I want assign a keyboard shortcut. Then I press the shortcut and it says "this key combination is allocated to XYZ action, please choose an unique key combination [Cancel]". Now I must manually search for the action XYZ (sometimes in different section of KDE) and cancel it's shortcut to be able to set the shortcut to the action I want.

I would like an [Reclaim] button on the dialog box saying "this key combination is allocated to XYZ". When I press the [Reclaim] button, the application (or KDE or whoever is handling the keyboard shortcuts) skould set the XYZ action's keyboard shortcut to "None" and then set the selected keyboard shortcut to the action ABC. When I don't want this, I simply press [Cancel].
Comment 1 Caleb Tennis 2003-04-25 20:21:47 UTC
I think this is a wishlist item for the KControl people.  Reassigning. 
Comment 2 jozef.behran 2003-06-09 21:44:39 UTC
I want to add some more wishes to this wishlist: Button [Swap], which will swap
keyboard shortcut allocations between ABC and XYZ and button [Set & Claim],
which will allocate the selected shortcut to ABC and then open a dialog window
asking for reclaiming the keyboard shortcut XYZ (if this dialog window is
cancelled, the shortcut should be set to None (or Default if the default
shortcut is free)).
Comment 3 Lubos Lunak 2003-06-10 13:43:03 UTC
It doesn't help much to reassign bug to another product without reassigning it also to its 
maintainer. 
 
Comment 4 Lubos Lunak 2003-06-10 17:08:09 UTC
I've committed what's requested in the original bugreport. Comment #2 seems to be way too 
much to me, I'll leave it up to the maintainer whether to close it or implement it. 
 
Comment 5 Ellis Whitehead 2003-06-10 22:17:50 UTC
Subject: Re:  "Reclaim keyboard shortcut" button wanted

Hi Lubos,

On Dienstag, 10. Juni 2003 17:08, Lubos Lunak wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=57711
> l.lunak@kde.org changed:
>
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
>- Status|UNCONFIRMED                 |NEW
>       everconfirmed|0                           |1
>
>
>
> ------- Additional Comments From l.lunak@kde.org  2003-06-10 17:08 -------
> I've committed what's requested in the original bugreport. Comment #2 seems
> to be way too much to me, I'll leave it up to the maintainer whether to
> close it or implement it.

Could you send me the patch please?  Someone else had already tried tackling 
this one, but the patch would have create other problems because it didn't 
properly distinguish between global shortcuts, general application shortcuts, 
and application-specific shortcuts.  E.g., we don't want Ctrl+C to be cleared 
in kdeglobals when someone assigned Ctrl+C to "Capture" in some board game.  
I'm sure you've considered such things, but I'd still like to take a look. ;)

Regards,
Ellis


Comment 6 Lubos Lunak 2006-06-22 15:50:38 UTC
Worksforme.