FS#43203 - [firefox] Missing StartupWMClass in firefox.desktop
Attached to Project:
Arch Linux
Opened by Robert Orzanna (orschiro) - Tuesday, 23 December 2014, 09:07 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 14 February 2015, 20:58 GMT
Opened by Robert Orzanna (orschiro) - Tuesday, 23 December 2014, 09:07 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 14 February 2015, 20:58 GMT
|
Details
Description:
'StartupWMClass=Firefox' should be added to firefox.desktop [1] (which I think is provided by the Arch Linux package. Upstream uses the entry already [2]) to prevent multiple icons from showing up in docks such as plank or docky. See this [3] for more information. [1] https://projects.archlinux.org/svntogit/packages.git/plain/trunk/firefox.desktop?h=packages/firefox [2] http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/installer/linux/rpm/mozilla.desktop [3] http://kb.openstudioproject.com/content/fix-double-google-chrome-icon-docky-and-plank |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Saturday, 14 February 2015, 20:58 GMT
Reason for closing: Won't implement
Additional comments about closing: This is caused by a bug in BAMF.
Saturday, 14 February 2015, 20:58 GMT
Reason for closing: Won't implement
Additional comments about closing: This is caused by a bug in BAMF.
StartupWMClass=Thunderbird
to thunderbird.desktop.
Should I open a new bug report for Thunderbird?
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1121932
It's also worth noting that Fedora has removed the StartupWMClass property from their .desktop files for Firefox and Thunderbird:
https://bugzilla.redhat.com/show_bug.cgi?id=844860
Are you sure there's an actual issue here? If so, please provide specific steps so we can try to reproduce it.
The linked bug report is from 2012. I assume that the importance of StarupWMClass must have changed since then.
Please note, that the issue with duplicate icons is only evident on an immediate update of Firefox or Thunderbird, without a restart of the user session (e.g. through logout or reboot).
This issue, however, only seems to affect Plank; Docky and Cairo-Dock work fine and show just one icon.
Setting StartupWMClass shouldn't be necessary and since other docks work fine, I'd suggest to file a bug with Plank.
Thanks for your help. I filed a report at the Plank Bug Tracker [1].
Regards,
Robert
[1] https://bugs.launchpad.net/plank/+bug/1416837
I noticed you have filed a report against BAMF so I marked the Plank one as a duplicate of that:
https://bugs.launchpad.net/bamf/+bug/1393081
I'm going to close this task as "Won't fix" since adding StartupWMClass is an application-specific workaround for the bug in BAMF.
If BAMF gets fixed upstream I will backport any relevant patches. (I subscribed to LP bug #1393081.)