Your message dated Tue, 23 Mar 2021 17:04:16 +0000
with message-id <[email protected]>
and subject line Bug#985366: fixed in thunderbird 1:78.9.0-1
has caused the Debian Bug report #985366,
regarding thunderbird: Incorrect StartupWMClass in desktop file
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
985366: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985366
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: thunderbird
Version: 1:78.8.0-1
Severity: normal
Tags: patch
Dear Maintainer,
The thunderbird.desktop file contains `StartupWMClass=Thunderbird`.
This is incorrect as the Thunderbird window has the WM classes
`Mail` and `thunderbird` (lowercase):
$ grep StartupWMClass /usr/share/applications/thunderbird.desktop
StartupWMClass=Thunderbird
$ xprop WM_CLASS
[click on the Thunderbird main window]
WM_CLASS(STRING) = "Mail", "thunderbird"
This impacts some startup detection logic, and most noticeably
bamfdeamon which then fails to match windows to the right app.
Note that there *is* apparently a Thunderbird window which includes the
"Thunderbird" WM class, but that's not the main window, and it kind of
looks like a ghost window (other details are funky, including
WM_NORMAL_HINTS specifying a 10x10 window, no icons, etc.):
$ xprop -name Thunderbird WM_CLASS
WM_CLASS(STRING) = "thunderbird", "Thunderbird"
In any case, this window also includes the lowercase class, so would be
matched just as well by it.
Attached is a simple patch that lowercases the StartupWMClass in the
desktop file, which fixes bamfdeamon window matching and doesn't seem
to otherwise cause issues.
This affects e.g. mate-dock-applet as it is a bamfdeamon client.
Regards,
Colomban
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-security'), (500,
'testing-debug'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'),
(500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.9.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages thunderbird depends on:
ii debianutils 4.11.2
ii fontconfig 2.13.1-4.2
ii libatk1.0-0 2.36.0-2
ii libbotan-2-17 2.17.3+dfsg-3
ii libbz2-1.0 1.0.8-4
ii libc6 2.31-4
ii libcairo-gobject2 1.16.0-4
ii libcairo2 1.16.0-4
ii libdbus-1-3 1.12.20-1
ii libdbus-glib-1-2 0.110-5
ii libevent-2.1-7 2.1.12-stable-1
ii libffi7 3.3-5
ii libfontconfig1 2.13.1-4.2
ii libfreetype6 2.10.2+dfsg-4
ii libgcc-s1 10.2.1-1
ii libgdk-pixbuf-2.0-0 2.40.0+dfsg-10
ii libglib2.0-0 2.66.2-1
ii libgtk-3-0 3.24.23-2
ii libicu67 67.1-4
ii libjson-c5 0.15-1
ii libnspr4 2:4.29-1
ii libnss3 2:3.60-1
ii libpango-1.0-0 1.46.2-1
ii libstdc++6 10.2.1-1
ii libvpx6 1.8.2-1
ii libx11-6 2:1.7.0-2
ii libx11-xcb1 2:1.7.0-2
ii libxcb-shm0 1.14-2
ii libxcb1 1.14-2
ii libxext6 2:1.3.3-1+b2
ii libxrender1 1:0.9.10-1
ii psmisc 23.3-1
ii x11-utils 7.7+5
ii zlib1g 1:1.2.11.dfsg-2
Versions of packages thunderbird recommends:
ii hunspell-en-us [hunspell-dictionary] 1:2019.10.06-1
ii myspell-fr-gut [myspell-dictionary] 1:1.0-32
Versions of packages thunderbird suggests:
ii apparmor 2.13.5-1+b2
pn fonts-lyx <none>
ii libgssapi-krb5-2 1.17-10
ii libgtk2.0-0 2.24.32-4
-- no debconf information
Fix the StartupWMClass to actually match what Thunderbird sets as WM_CLASS
--- a/debian/thunderbird.desktop
+++ b/debian/thunderbird.desktop
@@ -10,7 +10,7 @@ Version=1.0
Icon=thunderbird
Categories=Network;Email;News;GTK;
MimeType=message/rfc822;x-scheme-handler/mailto;text/calendar;text/x-vcard;
-StartupWMClass=Thunderbird
+StartupWMClass=thunderbird
StartupNotify=true
Name[ast]=Veceru de corréu Thunderbird
Name[ca]=Client de correu Thunderbird
--- End Message ---
--- Begin Message ---
Source: thunderbird
Source-Version: 1:78.9.0-1
Done: Carsten Schoenert <[email protected]>
We believe that the bug you reported is fixed in the latest version of
thunderbird, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Carsten Schoenert <[email protected]> (supplier of updated thunderbird
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 23 Mar 2021 15:55:43 +0100
Source: thunderbird
Architecture: source
Version: 1:78.9.0-1
Distribution: unstable
Urgency: medium
Maintainer: Carsten Schoenert <[email protected]>
Changed-By: Carsten Schoenert <[email protected]>
Closes: 985366
Changes:
thunderbird (1:78.9.0-1) unstable; urgency=medium
.
[ Colomban Wendling ]
* [7d454de] d/thunderbird.desktop: Switch StartupWMClass
(Closes: #985366)
.
[ Carsten Schoenert ]
* [23fe9ce] d/source.filter: small update to filtering list
* [828b9d7] New upstream version 78.9.0
Fixed CVE issues in upstream version 78.9 (MFSA 2021-12):
CVE-2021-23981: Texture upload into an unbound backing buffer resulted in
an out-of-bound read
CVE-2021-23982: Internal network hosts could have been probed by a
malicious webpage
CVE-2021-23984: Malicious extensions could have spoofed popup information
CVE-2021-23987: Memory safety bugs fixed in Thunderbird 78.9
* [cf4fbde] rebuild patch queue from patch-queue branch
Removed patch (included upstream):
porting-s390x/Explicitly-instantiate-TIntermTraverser-traverse-TIntermN.patch
Checksums-Sha1:
5b858e21ff54df6476d72c8b10ed7ddb86ab395d 8151 thunderbird_78.9.0-1.dsc
c4fc20eabd3d9bbc6b0d8b8566fd102930c80a19 11809040
thunderbird_78.9.0.orig-thunderbird-l10n.tar.xz
58204de02c111baece40e5054211504aa204ccf3 373325976
thunderbird_78.9.0.orig.tar.xz
7ec8350179be1c7b74e4b5ad4fe1dcd8b113f1cf 706092
thunderbird_78.9.0-1.debian.tar.xz
99800a3c07391d4bf474a367efb4ac4e92b8e521 35507
thunderbird_78.9.0-1_amd64.buildinfo
Checksums-Sha256:
2208e818e55e0ae9c84da76ab526d92e42190d1c7e51ff5f4438b1c45422b984 8151
thunderbird_78.9.0-1.dsc
df5262cb5337ecfd3b90ea050f6ea053239a2731e7c1fc5eb2d5cd2c98bdac40 11809040
thunderbird_78.9.0.orig-thunderbird-l10n.tar.xz
49ec8fe3978072d366312638d6a8636837c3ca41538f2cf175d78169533d04ad 373325976
thunderbird_78.9.0.orig.tar.xz
3b775647022fd6fba74ca88b855ba0f776dc2fe764a494e1c134b3503ccb9c03 706092
thunderbird_78.9.0-1.debian.tar.xz
55a30991e04de09c51d06599e10eede68898b91184aadb5c4c4dce2b701f518c 35507
thunderbird_78.9.0-1_amd64.buildinfo
Files:
117825ac757b43be7606e2a2cc4c0d87 8151 mail optional thunderbird_78.9.0-1.dsc
0a5cadc718d64d6b68ab39b03b721b9f 11809040 mail optional
thunderbird_78.9.0.orig-thunderbird-l10n.tar.xz
d95438eaa0434ef297fa5d97bfbfcf70 373325976 mail optional
thunderbird_78.9.0.orig.tar.xz
d70e9ffd46d2e1aa0234090a514895be 706092 mail optional
thunderbird_78.9.0-1.debian.tar.xz
659c127b9bad7ad9e9c185bac45c62e2 35507 mail optional
thunderbird_78.9.0-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEtw38bxNP7PwBHmKqgwFgFCUdHbAFAmBaG9gACgkQgwFgFCUd
HbAbexAAk+Cq9EDnCMdO0i8OmaiWddRYImze4KN4xnf1ZJkXIMQt0m/5uWHgz8gz
/w/6XdPtu+DWQl0OuGN/cqIdV7wDkkWHXsrpmXDdnhDtS+75peGfZS5Wbcn/fnSJ
atUGMrHrvt9yTwhHMxJHKQdpK7zamHQiVhCZtnKLXQoe5mpgK5yclZWoxfAfrAqY
OhWQO0scoIs2lAI63WHu4QdJzBqVUKK0VoAEf4FMrBd2omVWcRcf0Pn0PSWj9Z6D
2hwJLb4teYjiSEW4/YNcYt1ow44uP2y+Qr+zkaXGeAC0o89mq13yN1y8tTUxqSG3
jwqY8Hbno6OXXIoUwKlDLEi63x9AA/1UNEFY7bwv0JPhfS78/HP6rTY7krDNvBay
PiCb7KL5MoNEXvTP8C6S5gCk2abNir0hXGsnjuHG3fHoW1n+YATMmJoeO8Zwln5I
V16P8zfX/8OrdyIC882zm6KUYSpRJ6L+7LM/2KjjeYCMj5zIV+AP+ixjhp4WyNr7
7iZ1LSoLBJfu2gmPWRWGN7D6X1upizZ7xZdSytYZ/fBEaZdwrULD587Qq1GkPu4/
feiM5ZpSOD9Zq6n0fvv6xaqfAcglFQ7knr9HjevF3T1AKt5GBGgebTwtpHUjQdwi
rtHcSbk3qCESvO467b/jbSq3celvstdj+E5Ohau5AJ/KLkvraSo=
=1r0R
-----END PGP SIGNATURE-----
--- End Message ---