StartupWMClass value in thunderbird.desktop file is not correct

Bug #600217 reported by Matthieu Baerts on 2010-06-30
This bug affects 3 people
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Chris Coulson

Bug Description

Binary package hint: thunderbird


It seems that StartupWMClass value in thunderbird.desktop file is not correct because the right class is now "Thunderbird" (it has changed).
You can verify it with this command:
  $ xprop |grep CLASS
(the class is the second value or directly with this one: $ xprop |grep CLASS |cut -d, -f2).

This wrong value causes a problem for Cairo-Dock which uses the class' application in order to associate an application with a launcher, etc.
BTW, StartupWMClass parameter is optional because the class is the same as the binary (and the icon) with the first character capitalized.
It's the same bug as bug #587664 of Chromium-Browser fixed by Fabien Tassin (fta)

It seems it affect Thunderbird stable versions in Lucid and Maverick
but also these from 'ubuntu-mozilla-daily' ppa:

Thank you!

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: thunderbird 3.0.4+nobinonly-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.35-6.8-generic 2.6.35-rc3
Uname: Linux 2.6.35-6-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed Jun 30 15:00:55 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
SourcePackage: thunderbird

Matthieu Baerts (matttbe) wrote :
Andrea Amoroso (heiko81) wrote :

Setting the StartupWMClass value to Shredder in the thunderbird.desktop file, solved the problem for me.

Matthieu Baerts (matttbe) wrote :

@ Andrea, if you use an other version than those from Ubuntu repositories (Lucid/Maverick), yes this class can be different (but I though that only Thunderbird version 3.0 alpha has the Shredder).
For Cairo-Dock, you can edit the launcher (right click on it) and change the class in "extras parameters" tab.

BTW it's a bit ridiculous to change this class without any good reason...

Andrea Amoroso (heiko81) wrote :

Ok, understood..

BTW I have AWN and I don't know if it's possible to edit the I found easier to change the thunderbird.desktop file because AWN showed 2 icons for Thunderbird and I had to solve this problem you know a better solution? :)

Matthieu Baerts (matttbe) wrote :

> do you know a better solution? :)
Install Cairo-Dock ? :D
Sorry I'm part of the Cairo-Dock team so I can't help you more except if you have a problem with Cairo-Dock ;)

BTW I can change the status to 'confirm'.

Changed in thunderbird (Ubuntu):
status: New → Confirmed
Chris Coulson (chrisccoulson) wrote :

bzr commit -m '* Fix LP: #600217 - StartupWMClass value in thunderbird.desktop file is
  not correct
  - update debian/thunderbird.desktop' --fixes 'lp:600217'
Committing to: /home/chr1s/src/thunderbird/3.0/
modified debian/changelog
modified debian/thunderbird.desktop
Committed revision 175.

Changed in thunderbird (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → Low
assignee: nobody → Chris Coulson (chrisccoulson)
assignee: Chris Coulson (chrisccoulson) → nobody
status: In Progress → Fix Committed
Changed in thunderbird (Ubuntu):
assignee: nobody → Chris Coulson (chrisccoulson)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package thunderbird - 3.0.6+build2+nobinonly-0ubuntu1

thunderbird (3.0.6+build2+nobinonly-0ubuntu1) maverick; urgency=low

  * New upstream release v3.0.6 (THUNDERBIRD_3_0_6_BUILD2)
    - see USN-958-1

  [ Chris Coulson <email address hidden> ]
  * Fix LP: #600217 - StartupWMClass value in thunderbird.desktop file is
    not correct
    - update debian/thunderbird.desktop

  [ Micah Gersten <email address hidden> ]
  * Fix LP: #590452 - Thunderbird needs change for dictionary transition;
    Use hunspell dictionaries for Maverick and later
    - update debian/rules
  * Fix LP: #569762 - Thunderbird's .desktop file does not contain russian
    translation; Thanks to Igor Zubarev for the translation
    - update debian/thunderbird.desktop
  * Fix LP: #563535 - thunderbird -g fails due to invoking "$LIBDIR/$META_NAME"
    instead of "$LIBDIR/$META_NAME"-bin
    - update debian/
  * Fix LP: #411691 - many Exception... "update.locale file doesn't exist" in
    - update debian/rules
 -- Micah Gersten <email address hidden> Tue, 13 Jul 2010 08:59:50 -0500

Changed in thunderbird (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers