StartupWMClass value in thunderbird.desktop file is not correct

Bug #600217 reported by Matthieu Baerts
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Fix Released
Low
Chris Coulson

Bug Description

Binary package hint: thunderbird

Hello,

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
  * http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/lucid/thunderbird/lucid/annotate/head:/debian/thunderbird.desktop
  * http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/maverick/thunderbird/maverick/annotate/head:/debian/thunderbird.desktop
but also these from 'ubuntu-mozilla-daily' ppa:
  * http://bazaar.launchpad.net/~ubuntu-mozilla-daily/thunderbird/thunderbird.head.daily/annotate/head:/debian/thunderbird.desktop
  * http://bazaar.launchpad.net/~mozillateam/thunderbird/thunderbird-3.1.head/annotate/head:/debian/thunderbird-3.1.desktop

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)
ProcEnviron:
 LANG=fr_BE.utf8
 SHELL=/bin/bash
SourcePackage: thunderbird

Revision history for this message
Matthieu Baerts (matttbe) wrote :
Revision history for this message
Andrea Amoroso (heiko81) wrote :

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

Revision history for this message
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...

Revision history for this message
Andrea Amoroso (heiko81) wrote :

Ok, understood..

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

Revision history for this message
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
Revision history for this message
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)
Revision history for this message
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/thunderbird.sh.in
  * Fix LP: #411691 - many Exception... "update.locale file doesn't exist" in
    console
    - 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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.