Bug 1937990 - thunderbird-wayland started Thunderbird on X in Plasma
Summary: thunderbird-wayland started Thunderbird on X in Plasma
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: thunderbird
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-11 21:11 UTC by Matt Fagnani
Modified: 2022-01-26 23:39 UTC (History)
10 users (show)

Fixed In Version: thunderbird-91.4.0-1.fc35 thunderbird-91.5.0-1.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-19 01:10:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matt Fagnani 2021-03-11 21:11:35 UTC
Description of problem:

When I've started Thunderbird on Wayland from thunderbird-wayland in Plasma 5.21.2 and earlier in a Fedora 34 KDE Plasma installation, Thunderbird was started on X. The Troubleshooting information page when running thunderbird-wayland showed Window Protocol	x11

Thunderbird on Wayland started with MOZ_ENABLE_WAYLAND=1 thunderbird showed Window Protocol	wayland

Version-Release number of selected component (if applicable):
thunderbird-wayland-78.8.0-1.fc33.x86_64
gtk3-3.24.26-1.fc34.x86_64

How reproducible:
This occurs every time I've started thunderbird-wayland in Plasma on Wayland.

Steps to Reproduce:
1. Boot a Fedora 34 KDE Plasma installation updated to 2021-3-11 with updates-testing enabled
2. Log in to Plasma 5.21.2 on Wayland
3. If thunderbird-wayland isn't installed, install it with 
sudo dnf install thunderbird-wayland
4. Open the Application Launcher menu
5. Type Thunderbird on Wayland in the search bar
6. Select Thunderbird on Wayland 
7. Select Help > Troubleshooting Information in Thunderbird
8. Look at Window Protocol in the Graphics section of the Troubleshooting Information page

Actual results:
thunderbird-wayland started Thunderbird on X in Plasma

Expected results:
thunderbird-wayland would start Thunderbird on Wayland in Plasma

Additional info:
I upgraded to thunderbird-78.8.0-1.fc33.x86_64 from koji because thunderbird 78.8.0 isn't available in F34 due to a build failure. thunderbird-78.7.0-2.fc34 was also affected. Running thunderbird-wayland started Thunderbird on Wayland in GNOME 40 beta.

Comment 1 Joshua Ferguson 2021-04-08 13:14:34 UTC
can confirm this is also the case with sway on fedora 33.

setting the mentioned environment variable (MOZ_ENABLE_WAYLAND=1) also fixed the issue in my case. 

potentially relevant info:

- sway : v1.5
- thunderbird: 78.8.1

Comment 2 Robert-André Mauchin 🐧 2021-04-21 23:32:01 UTC
Apparently it checks if the desktop is GNOME to enable Wayland, unlike Firefox


cat /usr/bin/thunderbird-wayland
#!/usr/bin/bash
#
# Run Thunderbird under Wayland
#

##
## Enable Wayland backend?
##
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ]; then
  export MOZ_ENABLE_WAYLAND=1
fi
exec /usr/bin/thunderbird "$@

Comment 3 Robert-André Mauchin 🐧 2021-04-21 23:34:26 UTC
Tested it with Wayland: very buggy, the app keeps flickering.

Comment 4 Timothée Ravier 2021-08-10 12:55:24 UTC
https://src.fedoraproject.org/rpms/thunderbird/pull-request/13 > PR for this bug

Comment 5 Fedora Update System 2021-12-17 09:54:41 UTC
FEDORA-2021-8e22bd94e7 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8e22bd94e7

Comment 6 Fedora Update System 2021-12-18 02:20:57 UTC
FEDORA-2021-8e22bd94e7 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8e22bd94e7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8e22bd94e7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-12-19 01:10:36 UTC
FEDORA-2021-8e22bd94e7 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2022-01-21 06:39:35 UTC
FEDORA-2022-db6797633f has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-db6797633f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-db6797633f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2022-01-26 23:39:33 UTC
FEDORA-2022-db6797633f has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.