Bug 485453

Summary: Kdenlive is invisible in Gnome sessions
Product: [Applications] kdenlive Reporter: Nelson N. <nelsonngyn00>
Component: Video Effects & TransitionsAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED UPSTREAM    
Severity: normal CC: software.unedited102
Priority: NOR Keywords: wayland-only
Version First Reported In: 24.02.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of bug

Description Nelson N. 2024-04-12 19:15:35 UTC
Created attachment 168429 [details]
Screenshot of bug

SUMMARY
I have been using Kdenlive for over a year now and have been working on a project for the past week.

Everything was normal until yesterday. Whenever I open the app, I see the splash screen then seemingly nothing. When I press the meta key to go into overview, the program is there and invisible.
I can hover over the app icon in overview and see the option to close it, but I can’t seem to interact with it any other way.

SOFTWARE/OS VERSIONS
Linux Kernel: 6.8.5-arch1-1
Distro: EndeavourOS
Desktop Environment: Gnome 46.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I have tried switching to an X11/XOrg session of Gnome with the same results.
When I’m inside a Plasma Wayland session it appears and behaves normally.
Comment 1 Nelson N. 2024-04-13 01:02:09 UTC
Additional information while attempting to troubleshoot.

I tried Kdenlive through the terminal.
If I try to open a file that doesn't exist, I'm given an error and the program displays normally and I can open any projects from there.

If I try to open a valid file, I am given the same invisible windows as before.
Comment 2 Nelson N. 2024-04-13 19:37:22 UTC
I had help narrowing down the issue on the EndeavourOS fourms.
I run two monitors on my setup, disconnecting one and trying to launch Kdenlive allows it to behave normally.
Comment 3 AJP 2024-04-20 10:13:19 UTC
Hello,

I have the same exact problem since a few days, I'm on base arch linux (6.8.7) with Gnome 46.0 on Wayland, Qt version is 6.7.0. I only have a single monitor on my end.

Here are some steps to reproduce the bug:
- Launch a fresh install of kdenlive -> the window renders properly
- Close and reopen -> still no problem
- Maximise the window THEN close and reopen -> the window is now invisible

I found a temporary fix for now: editing .local/share/kdenlive/kdenlivestaterc and replacing "Window-Maximized=true" by "Window-Maximized=false" (or juste deleting the file completely). But I have to redo it everytime I maximize the window again.

I have the exact same issue with qBittorent which is also a Qt6 program so the bug might be on Qt or gnome-shell side ? I tried downgrading the Qt version but then the program doesn't open at all so no luck there.