Bug 1223393

Summary: Some Qt apps do not show window under gnome wayland
Product: [openSUSE] openSUSE Tumbleweed Reporter: Cor Blom <cornelis>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: alynx.zhou, juergen
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Cor Blom 2024-04-25 11:59:57 UTC
In a mail to lyx-devel it was reported that lyx does not start under GNOME Wayland. It does under X.

I have tested sigil and kdenlive, which give the same behaviour. They seem to start, but do not show a window.

They work correctly under kde plasma.

To reroduce:

1. Login on gnome wayland

2. Start lyx, sigil, kdenlive from gui.

3. ResultL nothing visible happens. In overview the apps are visible, but without window.

For me, running lyx from commandline (console) does work.
Comment 1 Jürgen Spitzmüller 2024-04-25 12:52:57 UTC
Conformed, and same problem with Qt Creator, Okular and other Qt apps under GNOME wayland. This is a rather new problem (cannot pinpoint exactly the update that triggered it though)
Comment 2 Cor Blom 2024-04-25 14:54:06 UTC
Seems like:

https://bugreports.qt.io/browse/QTBUG-124450

and

https://gitlab.gnome.org/GNOME/mutter/-/issues/3435

is solved upstream
Comment 3 Alynx Zhou 2024-04-26 06:22:10 UTC
Upstream says https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3475/diffs fixes it, but it is a big change and needs to be backport to GNOME 45.
Comment 4 Cor Blom 2024-04-28 12:11:08 UTC
That fix is part of Gnome 46.1, so when that will arrive in Tumbleweed it should be fixed.

It only happens with Qt 6.7, so it shouldn't affect Leap, which will have 6.6. So I don't think any backporting is necessary.
Comment 5 Alynx Zhou 2024-04-29 08:05:30 UTC
(In reply to Cor Blom from comment #4)
> That fix is part of Gnome 46.1, so when that will arrive in Tumbleweed it
> should be fixed.
> 
> It only happens with Qt 6.7, so it shouldn't affect Leap, which will have
> 6.6. So I don't think any backporting is necessary.

Ah, yes, thanks.
Comment 6 Cor Blom 2024-05-06 08:51:16 UTC
GNOME 46.1 is now in Tumbleweed, so this should be fixed.
Comment 7 Jürgen Spitzmüller 2024-05-12 07:44:48 UTC
It's not fixed for me with Qt Creator (but with the other affected apps).
Comment 8 Cor Blom 2024-05-13 19:32:35 UTC
(In reply to Jürgen Spitzmüller from comment #7)
> It's not fixed for me with Qt Creator (but with the other affected apps).

I cannot reproduce that. Qt Creator does start and show a window for me.
Comment 9 Alynx Zhou 2024-06-04 09:02:28 UTC
The previous SR got missed while adding other patches, here is the new SR:
https://build.opensuse.org/request/show/1178470
Comment 10 Alynx Zhou 2024-06-13 07:05:50 UTC
SLE-15-SP6
https://build.suse.de/request/show/335364/
Comment 11 Maintenance Automation 2024-06-18 16:30:08 UTC
SUSE-RU-2024:2072-1: An update that has one fix can now be installed.

Category: recommended (moderate)
Bug References: 1223393
Maintenance Incident: [SUSE:Maintenance:34292](https://smelt.suse.de/incident/34292/)
Sources used:
openSUSE Leap 15.6 (src):
 mutter-45.3-150600.5.6.2
Desktop Applications Module 15-SP6 (src):
 mutter-45.3-150600.5.6.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 12 Jürgen Spitzmüller 2024-06-22 12:17:39 UTC
Thanks, with this new update it works now for me as well.