Bug 454466 - Window flickering when cross-fading between maximized and normal states
Summary: Window flickering when cross-fading between maximized and normal states
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-27 08:04 UTC by ratijas
Modified: 2022-09-17 11:39 UTC (History)
1 user (show)

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


Attachments
KWin - Maximize window cross-fade flickering (3.39 MB, video/mp4)
2022-05-27 08:04 UTC, ratijas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2022-05-27 08:04:11 UTC
Created attachment 149246 [details]
KWin - Maximize window cross-fade flickering

SUMMARY

Texture of a panel is getting drawn as a part of a window when it transitions from normal to maximized state. Animation speed is reduced (== longer duration) to see the effect better. With fast animations the perception is just a noticable flickering.


STEPS TO REPRODUCE
1. Set panel to auto-hide
2. Move cursor over it to make it visible
3. Maximize a window (Meta+PageUp) — NOT fullscreen it.

OBSERVED RESULT
As on a video.

EXPECTED RESULT
Cross-fade without panel texture being drawn at full opacity during first frames of an animation.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Kernel Version: 5.17.9-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-05-27 14:38:27 UTC
Can reproduce.
Comment 2 ratijas 2022-09-17 11:39:32 UTC
This was recently fixed with the restoration of the crossfade effect.

See also: https://invent.kde.org/plasma/kwin/-/merge_requests/2753