Bug 466171

Summary: No minimizing animation when the window underneath is qt6
Product: [Plasma] kwin Reporter: Jin Liu <ad.liu.jin>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.27.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: https://bugreports.qt.io/browse/QTBUG-111377
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screencast of the bug

Description Jin Liu 2023-02-21 00:48:01 UTC
Created attachment 156557 [details]
screencast of the bug

STEPS TO REPRODUCE
1. Start qdbusviewer6 maximized.
2. Click once in its search box.
3. Start konsole maximized.
4. Click minimize.

OBSERVED RESULT
No minimizing animation.

EXPECTED RESULT
Minimizing animation

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Wayland
Comment 1 Vlad Zahorodnii 2023-02-21 13:56:42 UTC
The minimize animation is played but the stacking order is changed. Presumably because qdbusviewer6 activates itself. Not really kwin bug. I still think that it's a good idea to allow raising windows above minimizing windows.
Comment 2 Jin Liu 2023-02-21 14:26:13 UTC
(In reply to Vlad Zahorodnii from comment #1)
> The minimize animation is played but the stacking order is changed.
> Presumably because qdbusviewer6 activates itself. Not really kwin bug. I
> still think that it's a good idea to allow raising windows above minimizing
> windows.

I tried a few qt6 apps: designer6, dolphin-emu, qbittorrent. They all have the
same behavior. So seems this is a universal problem in qt6 apps.

Also, when the underneath qt6 window is not maximized, I see that as you said,
the animation is played, but the qt6 window raises to the top at the very beginning
of the animation.
Comment 3 Vlad Zahorodnii 2023-02-21 17:06:04 UTC
That's a qtwayland bug.