Bug 844860 - Firefox desktop file: incorrect StartupWMClass
Summary: Firefox desktop file: incorrect StartupWMClass
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-01 05:10 UTC by Andrew Gunnerson
Modified: 2012-08-01 07:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-01 07:03:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrew Gunnerson 2012-08-01 05:10:32 UTC
The StartupWMClass key in the firefox.desktop file is incorrect in Fedora 17. It currently is set to "Firefox-bin", but the correct value is "Firefox".

This will prevent the Firefox icon from showing up twice in Docky and the Unity launcher.

By the way, the correct value was found by running "xprop | grep WM_CLASS" and clicking a Firefox window.

Comment 1 Martin Stransky 2012-08-01 06:11:14 UTC
WM_CLASS(STRING) = "Navigator", "Firefox" says my Firefox. AFAIK StartupWMClass is unused. Does Unity accept it?

Comment 2 Andrew Gunnerson 2012-08-01 06:31:19 UTC
That's what mine says too. Here's what happens when StartupWMClass is set to the current "Firefox-bin": http://i.imgur.com/z3aFw.jpg

And when StartupWMClass is set to "Firefox": http://i.imgur.com/4t2n3.jpg

If you look at the launcher in the first picture, the Firefox icon shows up twice. If StartupWMClass is removed, everything works as expected :)

Comment 3 Martin Stransky 2012-08-01 06:40:52 UTC
Okay. The StartupWMClass is unused in gnome anyway.

Comment 4 Martin Stransky 2012-08-01 07:03:06 UTC
Added to rawhide.


Note You need to log in before you can comment on or make changes to this bug.