http://mozilla.debian.net/ packages do not set WM_CLASS to Iceweasel

Mike Hommey mh at glandium.org
Sat Oct 8 20:59:32 UTC 2011


On Sat, Oct 08, 2011 at 10:30:18PM +0200, Emmanuel Kasper wrote:
> Le 08/10/2011 18:33, Mike Hommey a écrit :
> > On Sat, Oct 08, 2011 at 01:25:10PM +0200, Emmanuel Kasper wrote:
> >> Hello
> >> I have notived on Debian Squeeze and Wheezy, using debian.org packages
> >> the WM_CLASS of the browser windows is set to Iceweasel.
> >>
> >> However when using a http://mozilla.debian.net package the WM_CLASS of
> >> the browser window is set to Firefox.
> >> xprop | grep WM_CLASS
> >> WM_CLASS(STRING) = "Navigator", "Firefox"
> >>
> >> This breaks in a subtle way some Task Managers ( ie Docky ) which use
> >> the WM_CLASS to track which windows are open.
> >>
> >> cf This Docky Bug Report:
> >> https://bugs.launchpad.net/docky/+bug/775859
> >>
> >> As a workaround I put put StartupWMClass=Firefox in iceweasel.desktop.
> >> and Docky works properly.
> >>
> >> Is that a bug or am I missing something ?
> > 
> > I see no reason why the mozilla.debian.net backports would have a
> > different WM_CLASS, and I can't reproduce this behaviour.
> > 
> > Mike
> 
> I tried to reproduce the bug on a diffent Debian System. An
> out-of-the-box mozilla.debian.net package has actually the right WM_CLASS.
> 
> The problem was triggered when I installed the French language pack from
> ftp://ftp.mozilla.org/pub/firefox/releases/7.0.1/linux-x86_64/xpi/
> it is then that the WM_CLASS changes from "Iceweasel" to "Firefox"
> 
> I guess this language packs re -brands somehow Iceweasel to Firefox,
> which may explain the WM_CLASS change.

Please file a bug against the l10n package.

Mike



More information about the pkg-mozilla-maintainers mailing list