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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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
Comment by Matt T (mtarn) - Friday, 16 October 2015, 23:18 GMT
I can duplicate this - it's happening for me for every menu that contains applications which have desktop files in /usr/share/applications/kde4 (and possibly other kde apps) so not just my multimedia menu, but a bunch of other ones as well.

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.
Comment by Jan Alexander Steffens (heftig) - Friday, 16 October 2015, 23:51 GMT
Talking about patches here won't get anything done - please use https://bugzilla.gnome.org/ .
Comment by Joseph Bodhorn (jbodhorn) - Saturday, 12 December 2015, 20:34 GMT
I'm having the same issue, in both Arch and Fedora. I'm newb and don't know how to debug this issue or I'd include more info. What I can say is it wasn't just one group, accessories, wine, and internet were all blank in Fedora, in Arch it's the accessories menu that is blank but I was missing programs from other sections that weren't completely blank. If someone could give me instructions I could debug in Arch, but Fedora I reinstalled the OS and am not having this issue atm
Comment by Joseph Bodhorn (jbodhorn) - Wednesday, 16 December 2015, 17:35 GMT

Loading...