Bug 454928 - Windows flash when BlendChanges is triggered while Show Desktop is activated
Summary: Windows flash when BlendChanges is triggered while Show Desktop is activated
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: git master
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-06 09:36 UTC by Fushan Wen
Modified: 2022-08-09 17:18 UTC (History)
2 users (show)

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


Attachments
flash.mp4 (1.89 MB, video/mp4)
2022-06-06 09:38 UTC, Fushan Wen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fushan Wen 2022-06-06 09:36:43 UTC
SUMMARY
If org.kde.KWin.BlendChanges is triggered while Show Desktop is activated, windows will flash in a short moment.


STEPS TO REPRODUCE
1. Choose "Use accent color: From current wallpaper"
2. Choose the slideshow wallpaper plugin
3. Click Show Desktop
3. Right click the desktop - Next Wallpaper Image

OBSERVED RESULT
Windows flash

EXPECTED RESULT
No flashes

SOFTWARE/OS VERSIONS
Information for package kwin5:
------------------------------
Repository     : @System
Name           : kwin5
Version        : 5.25.80git.20220604T165729~48740664-ku.145.2
Arch           : x86_64
Vendor         : obs://build.opensuse.org/KDE:Unstable
Installed Size : 16.8 MiB
Installed      : Yes
Status         : up-to-date
Source package : kwin5-5.25.80git.20220604T165729~48740664-ku.145.2.src
Upstream URL   : http://www.kde.org
Summary        : KDE Window Manager
Description    : 
    KWin is the window manager of the K desktop environment.
Comment 1 Fushan Wen 2022-06-06 09:38:17 UTC
Created attachment 149506 [details]
flash.mp4
Comment 2 Nate Graham 2022-06-06 18:30:31 UTC
Can reproduce with those steps.
Comment 3 David Edmundson 2022-06-07 07:17:16 UTC
I don't currently understand why.

ShowDesktop affects the stacking order
Blend effect changes the painting of each window individually, but in the stacking order from workspace
Comment 4 Nate Graham 2022-08-02 13:31:19 UTC
Should  be fixed by https://invent.kde.org/plasma/kwin/-/merge_requests/2764
Comment 5 Nate Graham 2022-08-09 17:18:24 UTC
Seems to be fully fixed by David Edmundson's https://invent.kde.org/plasma/kwin/-/merge_requests/2764.