Bug#854397: StartupWMClass in desktop file should match the real WM_CLASS X property

Raphaël Halimi raphael.halimi at gmail.com
Mon Feb 6 15:45:25 UTC 2017


Package: firefox
Version: 51.0.1-1
Severity: minor

Hi,

A change in 51.0.1-1 introduced a mismatch between the "StartupWMClass"
property in the desktop file and the real WM_CLASS property in X, which
messes up some applications (like Plank for example).

To fix that, instead of @browser@ (which results in the application
name, without the capital F in Firefox), the source for desktop file
should hard-code StartupWMClass as one of the values from the real
WM_CLASS property of each application, e.g. "Firefox" for Firefox and
"Firefox-esr" for Firefox ESR.

I think this should be sufficient for Gnome to differentiate both
applications from each other (although I couldn't test it since I don't
have Gnome installed), and still not have other applications which rely
on these properties behaving badly.

Regards,

-- 
Raphaël Halimi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1000 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20170206/644e9298/attachment.sig>


More information about the pkg-mozilla-maintainers mailing list