Bug 844860 - Firefox desktop file: incorrect StartupWMClass
Firefox desktop file: incorrect StartupWMClass
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: firefox (Show other bugs)
17
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Martin Stransky
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-01 01:10 EDT by Andrew Gunnerson
Modified: 2012-08-01 03:03 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-08-01 03:03:06 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andrew Gunnerson 2012-08-01 01:10:32 EDT
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 02:11:14 EDT
WM_CLASS(STRING) = "Navigator", "Firefox" says my Firefox. AFAIK StartupWMClass is unused. Does Unity accept it?
Comment 2 Andrew Gunnerson 2012-08-01 02:31:19 EDT
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 02:40:52 EDT
Okay. The StartupWMClass is unused in gnome anyway.
Comment 4 Martin Stransky 2012-08-01 03:03:06 EDT
Added to rawhide.

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