Bug 498905 - Wine apps with custom window doecorations get stuck when unmaximizing
Summary: Wine apps with custom window doecorations get stuck when unmaximizing
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 6.2.5
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-19 23:51 UTC by agarplayerarlon
Modified: 2025-03-14 11:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Video of the issue (2.86 MB, video/mp4)
2025-01-19 23:51 UTC, agarplayerarlon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description agarplayerarlon 2025-01-19 23:51:13 UTC
Created attachment 177538 [details]
Video of the issue

SUMMARY

When I click on the unmaximize button, the app gets unmaximized but then it gets stuck on the top of the screen and I can't move it, and if I click on the maximize button again the app tries to maximize but fails and keeps being stuck on top of the screen, and I have to restart it to get it fully functional again, BUT if I hold the super key and the left mouse cursor, then it does unmaximize and it doesen't get stuck, and I can still move the app and maximize it again without the issue.

I only have this bug on KDE Plasma and not on other desktop environments so it's not a Wine bug

The app I'm using is called FL Studio and it's running with Wine 9.22

STEPS TO REPRODUCE
1.  Click the unmaximize button


OBSERVED RESULT
The application gets stuck on the top of the screen

EXPECTED RESULT
The application doesen't get stuck and I can maximize it and move it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Manjaro
KDE Plasma Version:  6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
I am using Wayland
I have 2 monitors
I am on the latest Nvidia drivers 565.77
The app is running on XWayland
Comment 1 agarplayerarlon 2025-01-22 21:45:09 UTC
I have to give an update to this bug report because I discovered new details:

I discovered that only apps that have a custom titlebar (apps that don't use the kde titlebar) get stuck on the top of the screen when minimizing, for example I've also tried Photoshop CS6 which does have a custom titlebar, and it also gets stuck when unmaximizing, I've tried a game engine called Construct 2 and it uses the KDE titlebar, and when unmaximizing that it doesen't get stuck and it unmaximizes normally, same thing for all the other wine apps that use the KDE titlebar

So only apps that use a custom titlebar will get stuck on the top of the screen when clickiing the unmaximize button
Comment 2 agarplayerarlon 2025-01-22 21:46:58 UTC
grammatical correction to my last reply:

"I discovered that only apps that have a custom titlebar (apps that don't use the kde titlebar) get stuck on the top of the screen when UNMAXIMIZING"
Comment 3 agarplayerarlon 2025-02-13 12:14:39 UTC
I can confirm that this issue happens both on x11 and Wayland, and it's still present in Plasma 6.3
Comment 4 Vlad Zahorodnii 2025-02-18 12:16:56 UTC
Are there free apps that can be used to reproduce the issue?
Comment 5 agarplayerarlon 2025-02-18 19:00:38 UTC
(In reply to Vlad Zahorodnii from comment #4)
> Are there free apps that can be used to reproduce the issue?

FL Studio has a free version non-registration-required to try
https://www.image-line.com/fl-studio-download/
Comment 6 TraceyC 2025-02-18 23:29:00 UTC
Restoring the Version field

I tested with the free version of FL Studio 2024 on Plasma 6.3.0 and am able to reproduce.

- Open FLS and maximize
- Unmaximize the window

I also noticed the mouse was behaving as if the elements were in different positions. For example, the cursor turned into a left-right arrow when it wasn't over a splitter bar
Comment 7 agarplayerarlon 2025-02-19 10:17:56 UTC
> I also noticed the mouse was behaving as if the elements were in different
> positions. For example, the cursor turned into a left-right arrow when it
> wasn't over a splitter bar

yes that also happens
Comment 8 agarplayerarlon 2025-03-14 11:33:32 UTC
hey, any updates to this issue?
I would love to see it fixed as I experience this bug every day.