Bug#45945: menu and widget hotkey conflict resolution

Waldo Bastian bastian at kde.org
Tue Jul 30 20:34:05 BST 2002


On Tuesday 30 July 2002 12:18 pm, Rob Kaper wrote:
> > We have such a check already, unfortunately I have no idea how it works.
>
> Duplicate hotkeys are very nicely supported in KDE actually. I accidently
> used the same hotkey for two actions in Noatun and noticed a popup menu
> asking me which I wanted, which was very elegant and useful.
>
> I still have the same shortcut to stop playing music in Noatun with the
> Young Hickory plugin and renaming sessions in Konsole (Ctrl-Alt-S). The
> global music shortcut always takes preference over the application shortcut
> because it is handled before the application. As far as I know there is no
> way for the global shortcut code to see if the currently focussed/active
> application has a similar hotkey so it can show that popup.

This was about Alt+letter, you are talking about Ctrl+letter :-]

There is code in KApplication that can catch conflicts between Alt+letter 
style accelerators but I don't know how it works.

It checks two keys from the config file:
[Development]
CheckAccelerators=some_string
StrictMenuCheck=true|false

No idea what some_string is supposed to be.

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com





More information about the kde-core-devel mailing list