Bug 407694

Summary: Make window shadows decoration-independent
Product: [Plasma] kwin Reporter: David <david.cortes.rivera>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: maxmustermann1884
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David 2019-05-18 16:02:06 UTC
There are many non-official themes for window decorations in KDE store, which change how the window buttons look like, their spacing, and might change the title bar color, but other aspects such as the shadows or the softened borders are only defined for the official KDE themes (breeze and oxygen).

As such, if I go and choose a window decoration that is more of my liking, I can no longer get a shadow or other effects. I think having the smooth borders independent of themes might be a bit too hard, but the shadows that appear around windows should be something that could be applied to any theme.

Would be nice if one could configure the same shadow effects from breeze in custom window decorations.
Comment 1 Christoph Feck 2019-05-19 01:12:21 UTC
They cannot really be independent, because the shadows have to follow the way the decoration is rendered (e.g. regarding roundness).

But maybe kdecorations2 library could offer a shadow engine that decorations could optionally use, instead of forcing them to implement their own. That probably won't help for the Aurorae themes, i.e. most of the available decorations.
Comment 2 Vlad Zahorodnii 2019-05-20 07:58:50 UTC
I doubt there is any value behind splitting decorations and shadows. Decorations and shadows are interconnected.

If one wants to have a different shadow, then they need to fork the decoration theme and change the shadow accordingly.