FS#38102 - [firefox] firefox icon missing

Attached to Project: Arch Linux
Opened by Stephane Duchesne (smulverine) - Wednesday, 11 December 2013, 05:37 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Wednesday, 23 April 2014, 21:16 GMT
Task Type General Gripe
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Jan Alexander Steffens (heftig)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: icon missing in firefox package.

After installing the latest Firefox package the Firefox icon no longer appears in the dash.

Steps to reproduce:
In Gnome: Start Activities Overview. Type Firefox. No results.
From terminal: typing firefox launches the application. A logo will appear in the Dash but it cannot be added to the Favorites.

Additional info:

Firefox 26.0

/usr/share/applications/firefox.desktop file has this entry:
Icon=firefox

The icon exists in /usr/lib/firefox/browser/icons/mozicon128.png but is not displayed.
Workaround is to change the firefox.desktop file and point Icon explicitely to /usr/lib/firefox/browser/icons/mozicon128.png



This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Wednesday, 23 April 2014, 21:16 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Wednesday, 11 December 2013, 07:32 GMT
That's not the required fix. The icon is listed correctly, a firefox icon of various sizes is placed into the hicolor icon theme, so that's fine. What is not fine, is the .desktop file itself. gnome-shell will only show desktop files where Name= matches the name of the desktop file, which has to match the WM_CLASS property in lowercase. Changing Name=Firefox to Name=firefox on the first line fixes the launcher.
Comment by Jan Alexander Steffens (heftig) - Thursday, 12 December 2013, 14:43 GMT
What? Name= is just a display name. This is probably a problem with how GNOME Shell handles .desktop files getting updated by Pacman. For some reason they're not read correctly, and either changing the desktop file (so it gets reread) or restarting the shell solves the problem.
Comment by Stefan J. Betz (encbladexp) - Thursday, 12 December 2013, 15:07 GMT
Just type "r" in ALT-F2 and all is fine after Installation again. Not a Problem with firefox at all ;)
Comment by Bastien Traverse (Neitsab) - Friday, 03 January 2014, 16:05 GMT
Experienced the same issue and encbladexp's advice of restarting the shell via Alt F2-r worked as intended. Hence this is not a bug per se. Thanks

Loading...