Closed Bug 1724656 Opened 3 years ago Closed 2 months ago

phantom window is created when sending (wayland)

Categories

(Thunderbird :: Message Compose Window, defect)

Thunderbird 91
x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: tristang, Unassigned)

Details

Attachments

(1 file)

Attached image 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
  4. 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.

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

Component: Untriaged → Message Compose Window
OS: Unspecified → Linux
Hardware: Unspecified → x86_64

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/

(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

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

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.

(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

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.

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.

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

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.

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?

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

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).

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.

Version: 78 → Thunderbird 91

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.

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.

Confirming this bug persists in TB 91 under Pop!_OS 21.10. A fix for this was apparently committed several months ago, but (per this comment) users will not see it until updating to gnome 40.6.

(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 several months ago, but (per this comment) 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

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.

gfunk, does this still reproduce for you?

Flags: needinfo?(tristang)
Whiteboard: [closeme 2023-10-25]

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.

Flags: needinfo?(tristang)
Whiteboard: [closeme 2023-10-25] → [closeme 2024-01-25]

Resolved per whiteboard

Status: UNCONFIRMED → RESOLVED
Closed: 2 months ago
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2024-01-25]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: