ghost compose window with wayland

Bug #1928312 reported by Martin Kaistra
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Incomplete
Undecided
Unassigned
gnome-shell-extension-desktop-icons-ng (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

After writing a new email and sending it, gnome still sees the compose window, even though it is really closed.
* Ubuntu Dock has an additional dot next to the thunderbird logo
* Clicking in the top bar on Thunderbird has the compose window listed under "Open windows"
* Using get_windows() in looking glass on the thunderbird app object gets 2 objects of MetaWindowWayland

Even after closing the main window of thunderbird, the ghost window is still there (dot next to thunderbird logo in ubuntu dock), which means Ubuntu Dock is not launching thunderbird on single left click any more.
Right click on the thunderbird logo in this state just opens an action window which doesn't respond to any clicks.
Only logging out and back in seems to restore normal behavior.

This is happening since upgrading to Ubuntu 21.04 and using wayland by default. It doesn't happen 100% of the time, but often enough for me to be able to collect additional information if necessary.

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: thunderbird 1:78.8.1+build1-0ubuntu1
ProcVersionSignature: Ubuntu 5.11.0-17.18-lowlatency 5.11.12
Uname: Linux 5.11.0-17-lowlatency x86_64
AddonCompatCheckDisabled: False
ApportVersion: 2.20.11-0ubuntu65
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: martin 26115 F.... pulseaudio
 /dev/snd/controlC1: martin 26115 F.... pulseaudio
 /dev/snd/controlC0: martin 26115 F.... pulseaudio
BuildID: 20210304234616
CasperMD5CheckResult: unknown
Channel: Unavailable
CurrentDesktop: ubuntu:GNOME
Date: Thu May 13 10:42:39 2021
DefaultProfileExtensions: extensions.sqlite corrupt or missing
DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite)
DefaultProfileLocales: extensions.sqlite corrupt or missing
DefaultProfilePrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/thunderbird/omni.ja:greprefs.js:732
DefaultProfilePrefSources: prefs.js
DefaultProfileThemes: extensions.sqlite corrupt or missing
ForcedLayersAccel: False
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2018-04-27 (1111 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Profile1Extensions: extensions.sqlite corrupt or missing
Profile1IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite)
Profile1Locales: extensions.sqlite corrupt or missing
Profile1PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/thunderbird/omni.ja:greprefs.js:732
Profile1PrefSources: prefs.js
Profile1Themes: extensions.sqlite corrupt or missing
Profiles:
 Profile1 - LastVersion=78.8.1/20210304234616 (In use)
 Profile0 (Default) - LastVersion=78.8.1/20210304234616 (In use)
RunningIncompatibleAddons: False
SourcePackage: thunderbird
UpgradeStatus: Upgraded to hirsute on 2021-04-25 (17 days ago)
dmi.bios.date: 11/20/2015
dmi.bios.release: 1.21
dmi.bios.vendor: LENOVO
dmi.bios.version: J5ET50WW (1.21 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20DF004NGE
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50512 STD
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.21
dmi.modalias: dmi:bvnLENOVO:bvrJ5ET50WW(1.21):bd11/20/2015:br1.21:efr1.21:svnLENOVO:pn20DF004NGE:pvrThinkPadE550:rvnLENOVO:rn20DF004NGE:rvrSDK0E50512STD:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad E550
dmi.product.name: 20DF004NGE
dmi.product.sku: LENOVO_MT_20DF_BU_Think_FM_ThinkPad E550
dmi.product.version: ThinkPad E550
dmi.sys.vendor: LENOVO
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu65
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3
DistroRelease: Ubuntu 21.04
InstallationDate: Installed on 2018-04-27 (1111 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Package: gnome-shell 3.38.4-1ubuntu2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.11.0-17.18-lowlatency 5.11.12
RelatedPackageVersions: mutter-common 3.38.4-1ubuntu2
Tags: hirsute wayland-session
Uname: Linux 5.11.0-17-lowlatency x86_64
UpgradeStatus: Upgraded to hirsute on 2021-04-25 (18 days ago)
UserGroups: adm audio cdrom dip libvirt lpadmin nordvpn plugdev sambashare sudo vboxusers video wireshark
_MarkForUpload: True

Revision history for this message
Martin Kaistra (djfun) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, it seems rather a shell issue getting confused about the status of the windows

affects: thunderbird (Ubuntu) → gnome-shell (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you do
$ apport-collect 1928312
now that it got reassigned that would add the debug informations for right component

Revision history for this message
Martin Kaistra (djfun) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Martin Kaistra (djfun) wrote : GsettingsChanges.txt

apport information

Revision history for this message
Martin Kaistra (djfun) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Martin Kaistra (djfun) wrote : ProcEnviron.txt

apport information

Revision history for this message
Martin Kaistra (djfun) wrote : ShellJournal.txt

apport information

Revision history for this message
Martin Kaistra (djfun) wrote : monitors.xml.txt

apport information

Revision history for this message
Martin Kaistra (djfun) wrote :

doesn't look like there is sensitive information in #8, hope I didn't miss anything ;)

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

Thanks for the bug report. Since so many bugs are caused by extensions, please try removing these as a first step:

'<email address hidden>', '<email address hidden>@gmail.com', '<email address hidden>', '<email address hidden>'

Then log in again and verify the bug still happens. If it does then please also try disabling 'Ubuntu Dock' in the Extensions app.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Martin Kaistra (djfun) wrote :

I disabled the extensions you listed and could still reproduce it. Then I also started to disable the extensions shipped with Ubuntu, it also happens with 'Ubuntu Dock' disabled.

However, at least right now, I cannot reproduce it when 'Desktop Icons NG (DING)' is disabled, so maybe this is the problematic extension?

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

That is weird and hard to explain. Can you try toggling back and forth and verify that is the cause?

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: New → Incomplete
Revision history for this message
Martin Kaistra (djfun) wrote :

I tried a couple of times to enable/disable the Desktop Icons NG extension, logging out and back in and trying to reproduce the issue and, yes, it seems to only happen (and at the moment quite reliably) when the extension is enabled.

Revision history for this message
Martin Kaistra (djfun) wrote :

I see this message in journalctl when the issue happens:

meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed

not sure though if this is related.

Revision history for this message
Cyril Jaquier (cyril-jaquier) wrote :

Exact same problem here but for me it happens with both Desktop Icon NG extension enabled or disabled. This is pretty annoying since the only workaround is to logout and login again. And I use Ctrl+Tab a lot which totally breaks with this bug.

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

Yes I think that error message sounds related, but it's already got its own bug 1871262 so let's group it there for now.

Revision history for this message
Gyuris Gellért (gellert-gyuris) wrote :

Ubuntu 21.10, Wayland, same error. Disabling 'Desktop Icons NG (DING)' is a working workaround.

Revision history for this message
Lulubel (lulubel1060) wrote :

Same problems for me.
Martin said: "Right click on the thunderbird logo in this state just opens an action window which doesn't respond to any clicks."
And Cyril said: "And I use Ctrl+Tab a lot which totally breaks with this bug."
I confirm but I add: the action window that "froze" is above the dock and mask the menu "activities" and some launchers. So we can't use alt-tab nor the mouse to get around the problem. Because we cannot launch any other application.

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.