Bug 2217176

Summary: Some software GUI is malfunctioning after upgrade to F38
Product: [Fedora] Fedora Reporter: David Horvath <dacr>
Component: mutterAssignee: Florian Müllner <fmuellner>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 38CC: ajax, dacr, fmuellner, gnome-sig, jadahl, ofourdan, otaylor, pasik, philip.wyett, walters
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screen video none

Description David Horvath 2023-06-24 20:19:30 UTC
Created attachment 1972397 [details]
Screen video

Description of problem:
After upgraded to Fedora 38 some software GUI is malfunctioning.
example: dropdown menu not slide down in my DAW (Tracktion Waveform 12).

This bug is only with Wayland, X11 is not affected.
I tried with and without a closed NVIDIA driver from akmod.

Steps to Reproduce:
1. start Waveform DAW
2. go to settings
3. try click to dropdown menu

Additional info:

HW: Dell Inc. Dell G15 5511
GPU: NVIDIA GeForce RTX™ 3050 Laptop GPU / Intel® UHD Graphics (TGL GT1)
Kernel: Linux fedora 6.3.8-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 15 02:15:40 UTC 2023 x86_64 GNU/Linux

My OS and BIOS is up to date.

I've attached a screen video.

Comment 1 Olivier Fourdan 2023-06-26 06:49:07 UTC
That's either a toolkit issue or a compositor issue, but definitely not Wayland (which is a set of protocol _definitions_).

From the look of it, I suspect that particular application is using Qt. Can you please confirm which toolkit this is happening with?

Comment 2 David Horvath 2023-06-26 14:10:01 UTC
As far as I know, this program was written with JUCE.
https://juce.com/


[berci@fedora ~]$ ldd /usr/bin/Waveform12
	linux-vdso.so.1 (0x00007fff7ff97000)
	libatomic.so.1 => /lib64/libatomic.so.1 (0x00007fab6146c000)
	libasound.so.2 => /lib64/libasound.so.2 (0x00007fab6135b000)
	libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007fab6128b000)
	libGL.so.1 => /lib64/libGL.so.1 (0x00007fab61204000)
	librt.so.1 => /lib64/librt.so.1 (0x00007fab611ff000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007fab611fa000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fab611f3000)
	libm.so.6 => /lib64/libm.so.6 (0x00007fab61112000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fab610ee000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fab60f10000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fab61495000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fab60efc000)
	libpng16.so.16 => /lib64/libpng16.so.16 (0x00007fab60ec3000)
	libz.so.1 => /lib64/libz.so.1 (0x00007fab60ea7000)
	libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007fab60dab000)
	libbrotlidec.so.1 => /lib64/libbrotlidec.so.1 (0x00007fab60d9e000)
	libGLX.so.0 => /lib64/libGLX.so.0 (0x00007fab60d6b000)
	libX11.so.6 => /lib64/libX11.so.6 (0x00007fab60c24000)
	libXext.so.6 => /lib64/libXext.so.6 (0x00007fab60c10000)
	libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007fab60b56000)
	libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007fab60a0d000)
	libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007fab609ec000)
	libbrotlicommon.so.1 => /lib64/libbrotlicommon.so.1 (0x00007fab609c9000)
	libxcb.so.1 => /lib64/libxcb.so.1 (0x00007fab6099e000)
	libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007fab60902000)
	libXau.so.6 => /lib64/libXau.so.6 (0x00007fab608fc000)

Comment 3 David Horvath 2023-06-26 14:25:43 UTC
But I get errors with Asbru Connection Manager too.
Sometimes the "exit" button not working, and tabs "X" close button malfunctioning too.

https://www.asbru-cm.net/

It is a perl and python application with GTK.

Comment 4 Olivier Fourdan 2023-06-26 14:39:34 UTC
I can reproduce the problem with the dropdown menus in with Tracktion Waveform 12 (I had to register on the website https://www.tracktion.com/ and then download a .deb file and extract it manually to be able to install it on Fedora).

That application is running X11 on top of Xwayland.

The issue is with mutter though, the same works fine in other Wayland compositors such as KDE Plasma, Sway or Weston.

→ Moving to mutter.

Comment 5 Olivier Fourdan 2023-06-26 15:29:19 UTC
Since this is a regression and I can reproduce, I ran a bisection in git and this commit came out:

18be74edeb58d755f7e9647f70e9faf4e4259f21 is the first bad commit
commit 18be74edeb58d755f7e9647f70e9faf4e4259f21
Author: Carlos Garnacho <carlosg>
Date:   Fri Apr 21 21:07:01 2023 +0200

    core: Fix map transitions for X11 windows on Wayland
    
    We are attempting to show windows that do not yet have a
    surface/buffer, this makes GNOME Shell avoid transitions
    for these windows.
    
    Since on Wayland X11 windows are also Wayland surfaces,
    this check is also valid for these, and is thus made more
    generic to also cater for these windows.
    
    Eventually, meta_window_update_visibility() is called
    when the surface gets its buffer, so the window can be
    neatly animated.
    
    Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2611
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2975>

 src/core/window.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 6 Olivier Fourdan 2023-06-26 15:30:44 UTC
This is https://gitlab.gnome.org/GNOME/mutter/-/issues/2820 upstream.

Comment 7 David Horvath 2023-06-26 17:46:10 UTC
Thank you Olivier!