Bug 502529 - Shading is almost working, but creates artefacts in shaded state, where usually the window shadow is placed, but window shadow is disabled
Summary: Shading is almost working, but creates artefacts in shaded state, where usual...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: Window shading (other bugs)
Version First Reported In: 6.3.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: X11-only
Depends on:
Blocks:
 
Reported: 2025-04-07 16:58 UTC by Hans-Peter Jansen
Modified: 2025-04-07 19:54 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 Hans-Peter Jansen 2025-04-07 16:58:40 UTC
SUMMARY

Window shading is almost working correctly, but creates artefacts in shaded state, where usually the window shadow is placed, but window shadow is disabled altogether, compositing is enabled, but apps may override. 

The artefacts expose some formerly displayed screen content, therefore it seems to be a redraw issue. Some may flicker, other not.

STEPS TO REPRODUCE

I configured my systems to shade the window with a double click on the window bar. 
Enable compositor
Note: NVIDIA graphics driver 570.133.07 (probably reproducible with other hardware as well)
disable window shadow (but the glitch is even stronger with window shadow enabled)
Shade a window, hopefully observe the glitch

OBSERVED RESULT

Will attach a short video, glitch appears since some time

EXPECTED RESULT

No such artifacts

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20250403
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.14.0-6-preempt (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 62.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3060
Manufacturer: ASUS