Bug 333290 - appmenu krunner plugin freezes when active window doesn't export dbus menus
Summary: appmenu krunner plugin freezes when active window doesn't export dbus menus
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kded-appmenu
Classification: Frameworks and Libraries
Component: top menubar (show other bugs)
Version: 4.12.3
Platform: Kubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Cédric Bellegarde
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-10 16:45 UTC by Eric Francis
Modified: 2017-02-05 12:35 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 Eric Francis 2014-04-10 16:45:06 UTC
When I set the menubar style to anything other than In Application, and activate the krunner appmenu plugin, for most (kde/qt/gtk) applications everything works as expected: krunner operates smoothly and I can use it to search through and launch the various menu items.
However, when running krunner with certain applications active, like Netbeans, PyCharm (java swing and swt? apps in general), plasma-desktop; krunner responds normally for the first second or so but then freezes for about a minute before continuing where it left off.  After the first freeze krunner operates normally (though no menu items are available).

Reproducible: Always

Steps to Reproduce:
1. Change Menubar style (System Settings -> Application Appearance -> Style -> Fine Tuning) to anything other than In Application (so that the krunner plugin can access the menu)
2. Enable AppMenu action launcher plugin in krunner
3. Focus one of the afore-mentioned applications (happens with plasma-desktop, so switching focus to the desktop will trigger it)
4. launch krunner and type something
Actual Results:  
Krunner will start displaying results, but then it will freeze for about a minute

Expected Results:  
Krunner won't freeze

I've observed this bug in all versions of appmenu.
If the bug can be worked around for certain java swing and/or swt apps (like Netbeans or any of the IdeaJ IDEs (I haven't tested Eclipse recently, but I think it might happen with that as well)) by changing some configuration to enable exporting their menus, that would also be appreciated.
Comment 1 markuss 2017-02-05 12:35:35 UTC
This is for the old Plasma 4 implementation. Plasma 5.9 has a new implementation of the menu bar.