FS#46647 - [gnome-shell-extensions] apps-menu "Multimedia" is empty since last update to gnome 3.18.0-1
Attached to Project:
Arch Linux
Opened by whocares (ingo66) - Saturday, 10 October 2015, 16:25 GMT
Last edited by Jan de Groot (JGC) - Friday, 08 April 2016, 21:40 GMT
Opened by whocares (ingo66) - Saturday, 10 October 2015, 16:25 GMT
Last edited by Jan de Groot (JGC) - Friday, 08 April 2016, 21:40 GMT
|
Details
Description: By using the shell-extension "Apps-Menu" the
menu "Multimedia" is empty.
Additional info: * gnome 3.18.0-1 * gnome-shell-extensions 3.18.0-1 Steps to reproduce: Use the shell-extension Apps-Menu (apps-menu@gnome-shell-extensions.gcampax.github.com) and select the menu item "Multimedia". |
This task depends upon
Closed by Jan de Groot (JGC)
Friday, 08 April 2016, 21:40 GMT
Reason for closing: Fixed
Additional comments about closing: 3.18.3 or higher
Friday, 08 April 2016, 21:40 GMT
Reason for closing: Fixed
Additional comments about closing: 3.18.3 or higher
I've done a bit of debugging of the extension. It appears that all of these applications are being assigned null values when the code appSys.lookup_app(id) is run inside the _loadCategory function of /usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com/extension.js
I've checked this by modifying that function to follow on from the lookup_app call in the following way
let app = appSys.lookup_app(id);
if (app == null) {
global.log("null app: "+ id)
} else {
if (appInfo.should_show()) {
let menu_id = dir.get_menu_id();
this.applicationsByCategory[categoryId].push(app);
}
}
} else if (nextType == GMenu.TreeItemType.DIRECTORY) {
// CODE BEYOND THIS POINT IS UNCHANGED
When I run gnome-shell --replace after making this modification, I then get confirmation that those apps (eg, Amarok, KDevelop) are getting null lookups. By preventing those apps from being added to the menu, I now have usable menus - but without any of the KDE apps that I use.