Thunderbird under Wayland does not correctly close (or manage) windows

Bug #1932328 reported by Yves Roggeman
480
This bug affects 82 people
Affects Status Importance Assigned to Milestone
GNOME Shell
Fix Released
Unknown
Mozilla Thunderbird
New
Unknown
gnome-shell-extension-ubuntu-dock (Ubuntu)
Invalid
Undecided
Unassigned
mutter (Ubuntu)
Fix Released
Undecided
Unassigned
thunderbird (Ubuntu)
Invalid
High
Unassigned

Bug Description

Using Ubuntu 21.04 (Hirsute) that starts in Wayland, by default.
Thunderbird version: 78.11.0 with "gnome-support" package.
Same problem in safe mode.
Description:
By default in this context, TB is a Wayland task.
When opening a compose windows (or reply or transfer), sending mail apparently close the windows, but gnome shell continue to show multiple "points", as if multiple windows are still active.
And after closing TB, it seems maintained in the same state, so it becomes impossible to relaunch it from the desk. But task manager of "looking glass" does not show it and it is possible to launch from terminal.
Provisional solution:
Modify .desktop file to launch with --display=:0 option, that force to use XWayland interface, as shown by xlsclients (for example).
But it is actually a bug under Wayland context, that also badly interfer with many add-ons or extensions.

Yves Roggeman (yrogge)
tags: added: wayland
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in thunderbird (Ubuntu):
status: New → Confirmed
Revision history for this message
Phil Hughes (phil-hughes) wrote (last edit ):

I'm seeing the same thing after the recent update to Thunderbird 78.11. Ubuntu 21.04 on Wayland. x11 is ok. In my case it appears to be related to the Reminder dialogue opening. Some more details:

Start Thunderbird and make sure the Reminder dialogue does not open (eg by snoozing any reminders in a previous session).
Open a few emails in new windows - everything works as normal.

Now set a calendar entry for a few minutes and wait for the reminder dialogue to pop up.

Icon on dock shows indicator showing two open windows
Open an email in a new window
Icon on dock shows indicator showing three open windows
Close email
Icon on dock still shows indicator showing three open windows
Icon on dock is now unresponsive to left click. Right-click shows the menu listing all the windows you have opened, but is unresponsive and stays on the screen. It goes if you press "Super" twice.

Then switch to Thunderbird using Alt-tab
Repeat until more than 4 windows have been opened - icon show the maximum 4 indicators.
Close Thunderbird using Quit from the menu (ps shows no running Thunderbird processes)
Dock still shows icon with 4 indicators
Left or right click no longer does anything. A middle-click starts a new instance of Thunderbird.

Update: clicking on the Thunderbird Mail application menu in the top bar shows a complete list of the windows you have opened since Thunderbird was started.

Revision history for this message
Thomas Bechtold (toabctl) wrote :

I also have that problem now (hirsute, thunderbird version 1:78.11.0+build1-0ubuntu0.21.04.2). The docks shows 2 tabs on Thunderbird while only one is open.
The most annoying part is that ALT-TAB window switching does not longer work then.

Revision history for this message
Heiko Gimbel (ripper811603) wrote :

Seems to affect my system as well. I am on Kubuntu 21.04 with KDE Plasma 5.22.2. Thunderbird is basically unusable on Wayland for me. The whole ui is flickering especially when a reminder notification appears. Thunderbird is the only application that is behaving like that. Firefox runs without problems. I have also noticed graphical artifacts in GIMP when running the Plasma Wayland Session.

Revision history for this message
Tim Passingham (tim-8aw3u04umo) wrote :

I have the same problem on ubuntu 21.04 wayland. Logging on under ubuntu xorg fixes it.

Windows sometimes don't close properly, and trying to exit can trigger a logoff. Manually logging off and back on fixes it for a while, until another window sticks.

Thunderbird version 1:78.11.0+build1-0ubuntu0.21.04.2

Wayland is almost unusable because of this.

Revision history for this message
Adam Jacobs (bllfr0g) wrote :

Me too. After the recent thunderbird update, every time I send an email results in an extra “point” that I can seemingly get rid of only by logging out and back in.

Revision history for this message
Raph (mraph) wrote (last edit ):

[EDIT : never mind, it affects both actually]

I have two computers both on Ubuntu 21.04 Wayland and Thunderbird 1:78.11.0+build1-0ubuntu0.21.04.2, and strangely this bug only affects one of my computer...

I don't know if any additional information from those two machine can help identifying the bug origin ? or maybe it's already identified ?

Revision history for this message
Yves Roggeman (yrogge) wrote :

Same behaviour with version 78.12.0 (newly fresh installed)

Yves Roggeman (yrogge)
description: updated
Revision history for this message
Tim Passingham (tim-8aw3u04umo) wrote :

I tried adding --display=:0 to the desktop commmand, as below:

Exec=thunderbird -addressbook --display=:0

I still get the same problem under wayland.

Revision history for this message
Yves Roggeman (yrogge) wrote :

That is the exec entry for "Contacts" desktop entry in the .desktop file.
Try to add "--display=:0" also in the general exec entry (the first one in the file) in order to be sure to test it!

Revision history for this message
Tim Passingham (tim-8aw3u04umo) wrote :

Oops - sorry. I scrolled too quickly assuming it was at the bottom. I'll try that and report if it is still causing problems.

Revision history for this message
Tim Passingham (tim-8aw3u04umo) wrote :

Yves - all seems to be OK now with that fix. Thanks.

Revision history for this message
Eric Donkersloot (ericd) wrote :

The workaround suggested in comment #9 is fine, however if you use fractional scaling under Wayland it makes the text in Thunderbird way too blurry.

Revision history for this message
Paul R (riquez) wrote :

I had this problem a few weeks ago (21.04) & changed to x11.
Additionally I found it sometimes affected nautilus file windows in the dock in the same way.
The dock would show dots for windows that did not exist & then new windows could not be opened & reboot was needed. So its more than just a Thunderbird problem.

Revision history for this message
Stefano Maffulli (smaffulli) wrote :

The workaround suggested on #9 is not working, unfortunately.

Revision history for this message
Yves Roggeman (yrogge) wrote :

Problem till present after upgrade to 78,13,0

Revision history for this message
Xavier Guillot (valeryan-24) wrote :
Download full text (3.6 KiB)

Hi,

Since a few weeks, I have a problem with Thunderbird (current version 78.12) and Ubuntu Dock / Dash to Dock in Ubuntu 21.10 :

When I write a new message and send it, after the message window has closed, its red dot remains near Thunderbird button on the Ubuntu dock - there are 2 dots: the one of main TB window (receipt box) and a second one as if there was another window still opened.

But if I switch to another application - Firefox, Gedit, Nautilus, no matter… - and then with the mouse (left button) click on Thunderbird icon, desktop freezes completely, I have to manually close the computer and restart it.

All is frozen, mouse nor Alt-Tab don't work, but if for example Radiotray was active, I can still hear the audio program live.

If I just roll the middle button on the mouse to switch on Thunderbird and not click, it doesn't freeze. But to be back on TB main window, I must before minimize all other applications, then run somewhere in TB interface (not on Dash button), or roll is useless and doesn't show Thunderbird.

If I open a window for a new message, don't send it and just close it, only one red dot stays and no freeze, even with a left button click.

I also report the bug upstream.

Crash logs :

Jul 2 18:41:14 valeryan24-desktop gnome-shell[2311]: Object St.Bin (0x55c216acf060), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Jul 2 18:41:14 valeryan24-desktop gnome-shell[2311]: == Stack trace for context 0x55c213c2c1d0 ==
Jul 2 18:41:14 valeryan24-desktop gnome-shell[2311]: #0 7ffe8ca71020 b /<email address hidden>/docking.js:2036 (4f2dda5e470 @ 208)
Jul 2 18:41:14 valeryan24-desktop gnome-shell[2311]: Object St.Bin (0x55c216acf060), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Jul 2 18:41:14 valeryan24-desktop gnome-shell[2311]: == Stack trace for context 0x55c213c2c1d0 ==

Jul 9 00:00:10 valeryan24-desktop gnome-shell[2445]: Object St.Bin (0x55abc2039d10), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Jul 9 00:00:10 valeryan24-desktop gnome-shell[2445]: == Stack trace for context 0x55abc1b471d0 ==
Jul 9 00:00:10 valeryan24-desktop gnome-shell[2445]: #0 7ffc34c41bd0 b /<email address hidden>/docking.js:2036 (329752c5e470 @ 208)
Jul 9 00:00:10 valeryan24-desktop gnome-shell[2445]: Object St.Bin (0x55abc2039d10), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Jul 9 00:00:10 valeryan24-desktop gnome-shell[2445]: == Stack trace for context 0x55abc1b471d0 ==

Jul 16 10:17:15 valeryan24-desktop sy...

Read more...

Revision history for this message
In , Tristan (regulator) wrote :

Created attachment 9235322
tb.png

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0

Steps to reproduce:

1. set wayland as window manager
2. open thunderbird, create or reply to an email and a second compose window appears
3. click send and compose window vanishes
4 thunderbird appears to still have two windows open but the second cannot be seen
5. repeat to create additional "phantom" windows

I am using Pop!_OS 21.04 (Ubuntu) with Mesa graphics and wayland enabled

Actual results:

from what I can assume, when sending an email the compose window closes, but thunderbird/wayland still believes it to be open. if additional phantom windows are created and thunderbird is closed, the phantom windows stay open and thunderbird can't be started again until restart occurs

Expected results:

once compose window closes, thunderbird should only display and report main window open. If i fall back to x11 the program works as expected.

Revision history for this message
In , Wls220spring (wls220spring) wrote :

Sorry, I don't use Wayland on my Fedora 34 Workstation and can't confirm.

Revision history for this message
In , Tristan (regulator) wrote :

Wayland is the default WM on fedora? unless its disabled for nVidia

simply switch at the login screen, replicate the bug, then switch back

https://docs.fedoraproject.org/en-US/quick-docs/configuring-xorg-as-default-gnome-session/

Revision history for this message
In , Wls220spring (wls220spring) wrote :

(In reply to gfunk from comment #2)
> Wayland is the default WM on fedora? unless its disabled for nVidia
>
> simply switch at the login screen, replicate the bug, then switch back
>
> https://docs.fedoraproject.org/en-US/quick-docs/configuring-xorg-as-default-gnome-session/

Disabled.

WebGL 1 Driver Renderer NVIDIA Corporation -- GeForce GT 630/PCIe/SSE2
WebGL 1 Driver Version 4.6.0 NVIDIA 390.144

Revision history for this message
In , Olivier Tilloy (osomon) wrote :

Is this specific to the Thunderbird Ubuntu package, or can you also observe it with upstream builds downloaded from https://www.thunderbird.net/download/ ?

Changed in thunderbird (Ubuntu):
importance: Undecided → High
Revision history for this message
Olivier Tilloy (osomon) wrote :

Commenting out the line that reads

    export MOZ_ENABLE_WAYLAND=1

in /usr/lib/thunderbird/thunderbird.sh makes the problem go away, because the application will now run as an XWayland client.

Revision history for this message
Olivier Tilloy (osomon) wrote :

FWIW, I can also observe the issue in a fully up-to-date impish (upcoming 21.10) VM.

Revision history for this message
Olivier Tilloy (osomon) wrote :

I have managed to reproduce the issue with the upstream build for 78.13.0, downloaded from thunderbird.net, in a fully up-to-date hirsute VM, executed with MOZ_ENABLE_WAYLAND=1.

This rules out a packaging problem.

Revision history for this message
In , Olivier Tilloy (osomon) wrote :

I'm answering my own question: I have managed to reproduce the issue with the upstream build for 78.13.0, downloaded from thunderbird.net, in a fully up-to-date Ubuntu 21.04 VM, executed with MOZ_ENABLE_WAYLAND=1.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Tristan (regulator) wrote :

(In reply to Olivier Tilloy from comment #5)
> I'm answering my own question: I have managed to reproduce the issue with the upstream build for 78.13.0, downloaded from thunderbird.net, in a fully up-to-date Ubuntu 21.04 VM, executed with MOZ_ENABLE_WAYLAND=1.

thanks!

I might try on a fedora machine too if i get time

Revision history for this message
In , Richard Marti (richard-marti) wrote :

TB 78 is one year old with mostly only security updates in this year and the support ends around October. In this year Mozilla introduced a lot of Wayland changes. Maybe you could test TB 91 which is the next release version of TB? TB 91 was released this week and probably not yet in the distros.

Revision history for this message
In , Olivier Tilloy (osomon) wrote :

I have also reproduced the problem with the upstream build for 91.0, downloaded from thunderbird.net, in a fully up-to-date Ubuntu 21.04 VM, executed with MOZ_ENABLE_WAYLAND=1.

gfunk, I'd be very interested in knowing whether that's an Ubuntu-specific problem, or can also be observed on Fedora.

Revision history for this message
In , Tristan (regulator) wrote :

Hey guys,
I've tested Fedora and the issue does not occur, it could be that Fedora uses Gnome 40 (vs Gnome 38 in Ubuntu)

As for thunderbird 91, it seems to have created a new profile, I'll wait until i can migrate my old profile

Revision history for this message
In , Olivier Tilloy (osomon) wrote :

I set up a Fedora 33 VM to try and reproduce the issue there (Fedora 34 has GNOME 40, which the dash-to-dock extension isn't compatible with yet, and the problem is better observed with dash-to-dock configured to show one dot per open window). The default session is running on Wayland.

When running thunderbird 91.0 from the upstream tarball, I'm seeing that the icon displayed in the dock is the expected one when `MOZ_ENABLE_WAYLAND` is *not* set, however it's a generic cog icon when running with `MOZ_ENABLE_WAYLAND=1`.

Aside from that problem, I haven't managed to reproduce the issue described here with phantom windows yet, but I'll give it more tries, because it's not 100% reproducible on Ubuntu either.

Revision history for this message
In , Olivier Tilloy (osomon) wrote :

I tested this further, and despite repeated attempts, I wasn't able to observe the issue in my Fedora VM.
Could it be a problem in the interaction between thunderbird and the version of dash-to-dock that's in Ubuntu, maybe?

Revision history for this message
Olivier Tilloy (osomon) wrote :

From the upstream bug report (https://bugzilla.mozilla.org/show_bug.cgi?id=1724656), I tested rather extensively in a Fedora 33 VM and wasn't able to reproduce the issue, so there seems to be something that's specific to Ubuntu in this problem (maybe the version of dash-to-dock?).

Revision history for this message
Xavier Guillot (valeryan-24) wrote :

Yes, as I wrote in the duplicate bug #1938832 : after leaving a second red dot as if compose window was still opened, if I click on the Thunderbird icon on Ubuntu dock, it freezes the entire desktop, and I have to manually force shutdown.

I reported it upstream, but Dash to Dock development seems stopped - there is a fork on progress to adapt it to Gnome 40, but other bugs are not solved for the moment…

https://github.com/micheleg/dash-to-dock/issues/1500

Changed in thunderbird:
status: Unknown → New
Revision history for this message
Henning Sprang (henning) wrote (last edit ):

I have this problem too.
The real problem for me is less the dots staying in place, but alt-tab not working anymore.
With so many people being affected - did anybody find a workaround other than not using wayland or logging in and out?
Is there anything people not deeply into Gnome and/or thunderbird development can do to help it getting solved?

I tried to kill and get gnome-shell reloaded, as I used to to before sometimes, but that just leads to the whole gnome-shell going down and not coming up again, as far as I understand this is related to using Wayland, where killing gnome shell and having it restart automatically seems not to be supported.

Revision history for this message
Roger James (rogerjames99) wrote :
Revision history for this message
In , U-adam-e (u-adam-e) wrote :

Hi everyone,
I have the same issue on my computer : Ubuntu 21.04+Wayland, TB 78.13.0.
I would like to add that the bug impacts the whole system. On top of having phantom windows I also loose the ability of switching through open-windows with ALT+TAB, which is quite annoying… not saying totally irritating!
The same behavior has been described on Ubuntu French Forum : https://forum.ubuntu-fr.org/viewtopic.php?pid=22484498#p22484498

Revision history for this message
J-Paul BERARD (arverne) wrote :

Like it was said before, this issue is probably not specific to Thunderbird. I get the same problem with ImageMagick !

Revision history for this message
In , Ddl-github (ddl-github) wrote :

This bug also affects me running TB 78.13.0 under Pop!_OS 21.04 with Wayland. It does not appear to compromise my ability to switch windows/apps via ctl-tab, but it does prevent me from re-launching Thunderbird via the GUI after quitting it (both the dock and application launcher act like it's still running). I'm able to relaunch it via shell, but restoring normal operation requires restarting the DE (which means logging out and back in, under Wayland).

Revision history for this message
In , Ddl-github (ddl-github) wrote :

I didn't want to switch back to Xorg, so I found a clunky workaround:

* Select File -> Send Later (ctl-shift-enter): message is saved to Outbox.
* Select File -> Send Unsent Messages.

This method does not generate a ghost window. But wow, it's annoying. I had to remove the "Send" button from the Composition toolbar to keep me from reflexively clicking Send.

Revision history for this message
Derek L (ddl-lp) wrote :

I experience this bug under Wayland in Pop!_OS 21.04, which uses a custom fork of Dash to Dock (Cosmic Dock).[*]

I found a clunky workaround:

* Select File -> Send Later (ctl-shift-enter): message is saved to Outbox.
* Select File -> Send Unsent Messages.

This method does not create a "ghost window". But it's nearly as annoying as the bug itself. I had to remove the "Send" button from the Composition toolbar to keep me from reflexively clicking it. (I should really just switch TB to run under Xwayland, but I'm pigheaded.)

[*] https://github.com/pop-os/cosmic-dock

Revision history for this message
Jay (jay-7) wrote :
Revision history for this message
In , Jay (jay-7) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Looks like the fixes for Gnome 40 and 41 are in https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4184

Changed in mutter (Ubuntu):
status: New → Fix Committed
tags: added: fixed-in-40.6 fixed-upstream
Changed in thunderbird (Ubuntu):
status: Confirmed → Invalid
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Gilles Maitre (gillesmaitre) wrote :

With newest Ubuntu 21.10 (Impish) and the supplied TB version 91.1.2 the problem is now highly critical...
Thank you in advance to rapidly fix it.

Revision history for this message
Tim Passingham (tim-8aw3u04umo) wrote :

On impish, wayland, Tbird 91.1.2 the problem returned. I redid comment 18, since the new Tbird had updated the sh file.

Revision history for this message
Al Savage (asavage-d) wrote :

Interestingly, comments #18-23 are all missing for me; when I view the comments online @ https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1932328 , the comments skip from #17 to #24. Logged in or not.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It appears comments are displayed in chronological order rather than the numerical order they were added to the page. Those can be different when we import comments from another bug tracker (those with a grey background). It's weird but seems to make sense.

Revision history for this message
SamuelB. (bw-sammy) wrote :

FYI
this problem also exists under Manjaro + Gnome 40.4.0 + Wayland
Thunderbird version 91.2.0
gnome-shell-extension-dash-to-dock 70-1

Revision history for this message
Yves Roggeman (yrogge) wrote (last edit ):

I confirm that problem persists with "current" ubuntu versions:
Ubuntu 21.10 (Impish) - Wayland
Gnome-shell 40.5-1ubutnu2
Ubuntu Dock (gnome-shell-extension) 70-ubuntu3
libwayland 1.19.0-2build1
xwayland 2:21.1.2-0ubuntu1
Linux 5.13.0-21
Thunderbird 1:91.2.0+build1-0ubuntu0.21.10.2

Revision history for this message
Stefano Maffulli (smaffulli) wrote :

I just noticed that the same issue appears while using Inkscape: open the export dialog, export the image and close the dialog. Then you will still see two dots in the dock near the inkscape icon. And if you quit Inkscape, on dot remains and ALT-TAB doesn't work anymore.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The fix in mutter 40.6 could apply to any app. Wait till this fix is released and if you still have problems with Inkscape after that then a new bug would need to be opened.

Revision history for this message
Joe-xenotropic (joe-xenotropic) wrote :

For anyone needing a fix for nonfunctional alt-tab switching, at least for Ubuntu/Gnome you can remap in keyboard shortcuts to have the "direct windows switching", which by default is alt-esc, to be instead alt-tab. It is slightly different behavior -- more visual noise -- but fulfills the same essential function.

Revision history for this message
Robin T. Bye (robin-bye) wrote :

I Ctrl-F'ed for "snap" with no result so I assume it has not been mentioned:
Running Ubuntu 21.04, I had Thunderbird with this bug. Removing it and installing it with snap fixed the issue.

Revision history for this message
KneadToKnow (kneadtoknow) wrote :

Can anyone confirm behavior I'm seeing which may be related to this bug?

Several people are reporting that Alt+Tab stops working when this bug happens, but can you please tell me if Super+Tab starts doing what Alt+Tab is supposed to do?

I've actually noticed *that* behavior more than the primary issues of this bug (because I use Alt+Tab more than Thunderbird, I guess), but knowing that this is what's causing it would be a help to me.

Thanks!

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I was actually wondering if those two issues were related. But for the time being the Alt+Tab issue is tracked in bug 1950925.

Revision history for this message
In , Tristan (regulator) wrote :

Hi guys, added the Mozilla PPA and (seamlessly) upgraded from 78->91.3.2. This bug still exists, I guess the next test will be in a few weeks when Pop_OS moves to gnome 40 in their 21.10 release.

Revision history for this message
J-Paul BERARD (arverne) wrote :

For Ubuntu 21.10, an update of mutter was delivered yesterday (40.5-1). It seems to have solved the problem.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The only relevant update was mutter 40.5-1ubuntu3~21.10.1 that was 5 days ago. I would not expect it to have solved this bug.

Revision history for this message
Olivier Tilloy (osomon) wrote :

I can confirm the bug still exists with mutter 40.5-1ubuntu3 and thunderbird 1:91.3.2+build1-0ubuntu1, as tested in a fully up-to-date jammy VM.

Revision history for this message
Andrea (mariofutire86) wrote :

In reply to #56.

I can confirm Alt-TAB stops working when Thunderbird mis-behaves.

Normally it would show 1 more red (i.e. Window) dot than necessary.
But today it is showing 5 extra dots.

Revision history for this message
Sasa Friedrich (frido77) wrote :

I can still confirm bug. Fully updated Ubuntu 20.10
- thunderbird 1:91.3.1+build1-0ubuntu0.21.10.2
- mutter 40.5-1ubuntu3~21.10.1

But after commenting "export MOZ_ENABLE_WAYLAND=1" like suggested in comment #18 problem stops. All is working fine now.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. We know the bug is still present. It's not fixed until 40.6.

Revision history for this message
wgroiss (wolfgang-groiss-gmx) wrote :

I have same problem:
Ubuntu 21.10
Gnome 40.4.40
Wayland
Thunderbird 91.3.1,

and miss the ALT+TAB-Switch really !!!

But the work around of #54 (which is new for me, thanks!!!) is fine and helpful:

I take ALT+ESC instead of ALT+TAB (which switches directly to the next window(s).

Revision history for this message
In , PANTALÉON Pierre (pipantal) wrote :

hi.
I am in France with an Ubuntu 21.10 with Wayland
I get the same problem with my Thunderbird 94.3.1
If I write an email, and I send it, I have a phantom window and my ALT-TAB doesn't work.

Revision history for this message
Andrea (mariofutire86) wrote :

At the moment, in Ubuntu 21.10 we have gnome-shell 40.5, which is the same version for "jammy".

When will Ubuntu ship 40.6?

Revision history for this message
In , Ddl-github (ddl-github) wrote :

Confirming this bug persists in TB 91 under Pop!_OS 21.10. A fix for this was apparently [committed](https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2027) several months ago, but (per [this comment](https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1932328/comments/64)) users will not see it until updating to gnome 40.6.

Revision history for this message
In , Derek L (ddl-lp) wrote :

Jay, a belated thank-you for that link! It's now a much nicer option until the fix rolls out to regular users.

Revision history for this message
In , Tristan (regulator) wrote :

(In reply to ddl-github from comment #17)
> Confirming this bug persists in TB 91 under Pop!_OS 21.10. A fix for this was apparently [committed](https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2027) several months ago, but (per [this comment](https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1932328/comments/64)) users will not see it until updating to gnome 40.6.

Are you saying this is fixed via Gnome update? I've only seen the bug in Thunderbird

Revision history for this message
In , Ddl-github (ddl-github) wrote :

I was just relaying what I found reported in a different thread on this bug. I can't personally confirm the gnome patch is effective, because Pop 21.10 uses gnome 40.5, and I don't have time to try to build from source. Hopefully it will be gone in 22.04.

Changed in mutter (Ubuntu):
status: Fix Committed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (7.0 KiB)

This bug was fixed in the package mutter - 41.3-1ubuntu1

---------------
mutter (41.3-1ubuntu1) jammy; urgency=medium

  * Merge with debian, includes these upstream changes:
    - window: Don't change workspaces of unmanaged windows (LP: #1933996)
    - backend: Reset idletime when unplugging the power cable (LP: #1945121)
    - clutter/text: Invalidate actor paint volume when it has changed
      (LP: #1882291)
    - backends/native: Ensure pointer is onscreen in input thread (LP: #1933186)
    - OSK Enter, space and backspace keys don't work when typing in Greek
      (LP: #1820523)
    - window: Don't change workspaces of unmanaged windows (LP: #1932328)
  * Remainig changes with debian:
    - debian/gbp.conf: update upstream branch to point to ubuntu/master
    - debian/patches/x11-Add-support-for-fractional-scaling-using-Randr.patch:
      + X11: Add support for fractional scaling using Randr

mutter (41.3-1) unstable; urgency=medium

  * New upstream release:
    - Check keyboard serials for activation
    - Fix mixed up refresh rates in multi-monitor setups (LP: #1788535)
    - Allow disabling HW cursors
    - Improve damage handling (LP: #1872870)
    - Consider xrandr flags for advertised modes
    - Ensure constraints after client resize
    - window-group: Disable culling when rendinging clone to offscreen buffer
    - Fix workspace switch animation in default plugin
    - Fix unfullscreening of window that were mapped fullscreen
    - Fix DMA-BUF screencasts with unredirected fullscreen windows
    - Fix orientation changes on devices with 90°

mutter (41.2-2) unstable; urgency=medium

  * Team upload
  * d/p/Consistently-pass-timestamp-as-uint64-when-creating-MetaS.patch:
    Add proposed patch to fix FTBFS on 32-bit architectures
  * d/patches: Update to 41.2-6-g7b64c159a
    - Surface damage viewport improvements
  * Update patch metadata with upstream status

mutter (41.2-1) unstable; urgency=medium

  * Team upload

  [ Simon McVittie ]
  * New upstream release
  * d/patches: Drop patches that were applied upstream
  * d/patches: Update to upstream gnome-41 branch commit 41.2-3-g5d0c26631
    - wayland: Check keyboard serials for activation
    - Sync refresh rate to the correct monitor for maximized/full-screen
      apps in a multi-monitor layout
    - Add a debug environment variable to disable hardware cursors for
      faulty hardware and drivers

  [ Laurent Bigonville ]
  * debian/rules: Disable systemd support on non-linux architectures

mutter (41.1-1) unstable; urgency=medium

  * Team upload
  * New upstream release
  * Drop a patch that came from upstream
  * Update Lintian overrides
  * Replace patches for #995929 with the version that was applied upstream
  * Remove workaround for #994806
  * d/libmutter-9-0.symbols: Ignore removal of clutter_stage_capture_into.
    Nothing else in Debian references this symbol, except for forks of
    the mutter codebase.

mutter (41.0-5) unstable; urgency=medium

  * Team upload
  * Merge packaging from unstable
    - No changes relative to 41.0-4, except for the changelog
  * Close #995929 via changelog.
    The patches in 41.0-4 seem to have been successful.
  * Release to...

Read more...

Changed in mutter (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It's also been suggested newer versions of Thunderbird don't hit this mutter bug(?)

Revision history for this message
Olivier Tilloy (osomon) wrote :

Just tested on impish with thunderbird 91.5.1, and the problem persists.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

If there's a version of mutter missing the fix still then it looks trivial to patch:

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2003/diffs

Revision history for this message
Tim Passingham (tim-8aw3u04umo) wrote :

Latest Thunderbird (1.91.7), on 21.10, same problem. mutter is only 40.5. Is there any chance of a fix to a current version of ubuntu?

Revision history for this message
Francois Thirioux (fthx) wrote :

I hit this bug in Jammy, up to date including GS 42.0 latest.
See attachment.

I noticed it because Dock from Dash extension relies on windows count to switch to app or to overview...

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This bug is closed for jammy so please open a new bug.

Revision history for this message
Yves Roggeman (yrogge) wrote :

But it is not solved at all! Think to disappointed users, please.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The fix should be in jammy, but is known to not be in impish. Since you are the first person to report that it doesn't seem to be working in jammy, please open a new bug by running:

  ubuntu-bug thunderbird

or

  ubuntu-bug gnome-shell

Revision history for this message
Yves Roggeman (yrogge) wrote :

@vanvugt
Sorry. I was testing with a beta version, till unstable.
Now I have installed the final Jammy system (22.04) with Gnome and mutter version 42.0.
In that Wayland environment, Thunderbird seems now to work correctly.
Thank you.

Revision history for this message
Bartek (sadupl) wrote :

Ubuntu 22.04 Wayland. Thunderbird not opening. Fix from #18 helped.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Bartek,

This bug is closed. Please open a new bug for any issues you experience by running:

  ubuntu-bug thunderbird

Changed in gnome-shell:
status: Unknown → Fix Released
Revision history for this message
In , Vseerror-i (vseerror-i) wrote :

gfunk, does this still reproduce for you?

Revision history for this message
In , Tommi Höynälänmaa (tommi-hoynalanmaa) wrote : Re: [Bug 1932328]

Hello

I have currently no Ubuntu installed.

      - Tommi

Vseerror-i kirjoitti 14.10.2023 klo 6.56:
> gfunk, does this still reproduce for you?
>
--
Kotisivu / Homepage: http://www.iki.fi/tohoyn/
Sähköposti / E-Mail: <email address hidden>
GPG-sormenjälki / GPG fingerprint:
55F4 2477 7155 3528 5CB2 2B7A BB86 1FDE 4046 0F83
FM, Debian-ylläpitäjä / M.Sc., Debian Maintainer

Revision history for this message
In , Tristan (regulator) wrote :

Hi, sorry I am not using PopOS anymore

I believe Pop team have halted Gnome updates as they are working on a new "Cosmic" desktop environment, I will actually try Cosmic after its released and can check if the bug is there or not.

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.