How to fix Conflicting accelerators

Andreas Pakulat apaku at gmx.de
Thu Jun 11 15:38:57 BST 2009


Hi,

we have an interesting problem in KDevelop because there are two
conflicting accelerators. KDevelop embeds kate, which has this nice search
bar with Next and Prev buttons. Kate also assigns accelerators to these
buttons (Alt+N and Alt+P). Now the problem is that the automatic
accelerator-assigner (KAcceleratorManager IIRC) in kdelibs doesn't know or
care about that (probably know because no kate search bar is visible during
startup). And KDevelop has a "Navigation" menu, which gets Alt+N
assigned as accelerator via the kdelibs code (one more reason why
the automatic assignment really should be turned off).

Thats a clash, apparently Qt doesn't care which component in the gui has
focus it always activates the menu.

So what can be done about this, anybody with a good idea? I don't think
kate devs want to change kates accelerator as Alt+N fits very well with
"Next".

Andreas

-- 
You have literary talent that you should take pains to develop.




More information about the kde-core-devel mailing list