Bug 151289 - kdelibs KPopupMenu creates shortcuts even if it should not
Summary: kdelibs KPopupMenu creates shortcuts even if it should not
Status: RESOLVED NOT A BUG
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdeui (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-24 18:12 UTC by eekaikko
Modified: 2013-07-24 13:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eekaikko 2007-10-24 18:12:34 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

We use a class which inherits KToolBarButton and has KPopupMenu. We populate the menu with items from a "database". The item texts will be used later and we don't want shortcuts for them. Previously this worked fine because according to the docs and in reality KPopupMenu did not create shortcuts. After upgrading to 3.5.8 KPopupMenu started acting erroneously, creating shortcuts even after adding setKeyboardShortcutsEnabled(false).

When I open a menu from KToolBarButton it does not have the shortcuts. If I close it and reopen it has shortcuts. Also, if I open first time and then move mouse pointer over the items they will get shortcuts one after another.
Comment 1 Maksim Orlovich 2007-10-24 19:29:27 UTC
Not sure about the behavior change, but this might help:
http://api.kde.org/3.5-api/kdelibs-apidocs/kdecore/html/classKAcceleratorManager.html#7f61103bd3e0a4928493aad29f64392a
Comment 2 Martin Koller 2012-09-08 20:11:39 UTC
is this still a problem in KDE 4.9.1 ? I did not test it, but probably with your application it is very simple to do so.
Comment 3 Christoph Feck 2013-07-24 13:47:38 UTC
No response, changing status. Please reopen, if you have more information.