Bug 844860

Summary: Firefox desktop file: incorrect StartupWMClass
Product: [Fedora] Fedora Reporter: Andrew Gunnerson <accounts+fedora>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: gecko-bugs-nobody, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-01 07:03:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.