Bug 502379

Summary: Show shadows on maximized windows that have gaps around them
Product: [Plasma] kwin Reporter: kde.slip812
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: nate
Priority: LO    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: A maximized window with gaps but no shadow shown.

Description kde.slip812 2025-04-03 21:09:55 UTC
Created attachment 179975 [details]
A maximized window with gaps but no shadow shown.

When I use this kwin script: https://github.com/abimagnus/maximized-window-gaps to add gaps around maximizied window, No shadows are shown when the windows are maximized as shown in the screenshot
Comment 1 Nate Graham 2025-04-04 16:55:12 UTC
IIRC the shadows are turned off to improve performance a tiny bit by avoiding rendering them when they can't be seen. In this case they clearly can be seen though, so I guess we need to refine the conditional to include "and the maximized window doesn't have any gaps around it"
Comment 2 kde.slip812 2025-04-04 18:06:42 UTC
> so I guess we need to refine the conditional to include "and the maximized window doesn't have any gaps around it"

What conditional, can you elaborate? Idk the internals of plasma.