Bug 466173 - Window status changes to inactive the moment it's minimized, not after the minimize animation finishes playing
Summary: Window status changes to inactive the moment it's minimized, not after the mi...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.27.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-21 01:09 UTC by Jin Liu
Modified: 2023-02-22 00:44 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jin Liu 2023-02-21 01:09:28 UTC
SUMMARY
When minimizing an active window, the decoration changes to inactive color during the animation. This creates a flash at the beginning of the animation, making it less smooth than minimizing an inactive window.

Is it possible that window decoration doesn't change color during the minimzing 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.18.5

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-02-21 23:18:39 UTC
Can confirm; the rest of the window goes inactive too.

The issue here seems to be that the window become inactive the moment the minimize animation starts playing, not after it finishes. You can see the same issue in reverse when you un-minimize a window: it's already visibly active during the animation.
Comment 2 Jin Liu 2023-02-22 00:41:48 UTC
(In reply to Nate Graham from comment #1)
> You can see the same issue in reverse when you un-minimize a window: it's already visibly
> active during the animation.

I think the current un-minimizing behavior is ok. Otherwise, if the window changes state at the end of the animation, it happens right before my eyes.
Comment 3 Nate Graham 2023-02-22 00:44:33 UTC
Yeah, that actually makes total sense.