KDE Plasma 6.8 to Implement Server-Side Shadows in KWin
KDE Plasma 6.8 introduces server-side drop shadow support in KWin, enabling forced shadows for X11 apps that do not render their own.
KDE Plasma 6.8 introduces support for server-side drop shadows in the KWin compositing window manager. This feature, which has recently been merged into KWin, was detailed in a blog post by KDE developer Vlad Zahorodnii.
According to a report by Phoronix’s Michael Larabel, this functionality targets “application windows that neither draw their own shadows nor request compositors to render shadows for them.” With this new feature, users can now enforce the addition of shadows to such windows through the compositor, even if the windows themselves lack shadows.
Background of the Feature
In modern desktop environments, window managers typically apply drop shadows to client windows. However, some applications, particularly older X11 apps or those built using cross-platform frameworks, do not render their own shadows. This inconsistency often results in a lack of visual coherence compared to surrounding windows.
To bridge this gap, Vlad Zahorodnii implemented server-side drop shadow generation. In his blog, Zahorodnii shared comparison images using Discord as an example, showcasing the difference between “no effect” and “server-side drop shadows enabled.” The latter clearly shows the addition of natural-looking shadows to the window.
How to Enable the Feature
In KDE Plasma 6.8, this feature can be activated through a newly added window rule that allows the window manager to “draw the title bar, frame, and shadows.” Additionally, KWin automatically adds shadows to X11 windows that lack server-side decorations (SSD) and client-side drop shadows.
This means that even without explicit rule configuration, some older X11 applications may automatically benefit from this improvement.
Developer Comments
In his blog post, Vlad Zahorodnii described this feature as a solution for “applications that do not fully delegate window decoration to the server side and also lack their own shadows.” It represents a practical approach to balancing compatibility and visual consistency in the current transitional phase between X11 and Wayland on Linux desktop environments.
Zahorodnii also delved into the technical aspects of the implementation, explaining how shadows are generated within KWin’s compositing pipeline and how they integrate with existing decoration systems. Notably, he clarified the logic behind the conditions for automatic shadow application to X11 windows, providing valuable insights for developers of other desktop environments.
The Role of Plasma 6.8
As the latest release in the KDE 6 series, KDE Plasma 6.8 includes improvements in window management, performance, and user interface. The server-side drop shadow feature contributes to enhancing the overall visual quality of the desktop.
Applications like Discord, which run on Electron and often exhibit platform-specific window decoration behaviors, stand to benefit significantly. By enabling KWin to enforce shadows, user experience across applications is expected to become more consistent.
Editorial Opinion
In the short term, this feature could serve as a compelling reason for users to upgrade to KDE Plasma 6.8. For those who value visual consistency, the addition of server-side drop shadows represents a subtle yet noticeable improvement. However, there could be cases where automatically applied shadows appear unnatural in some applications, highlighting the need for granular settings control.
In the long term, expanding server-side decoration control could help maintain compatibility with X11 applications during the transition to Wayland. A compositor-driven mechanism for visual enhancements may delay the obsolescence of older applications. However, this approach also raises questions about the trade-off with the design philosophy that suggests clients should render appropriate shadows themselves.
From the editorial team’s perspective, the next key focus will be whether this feature influences GNOME or other Wayland compositors. It remains to be seen if KWin’s implementation will become a de facto standard, prompting other desktop environments to adopt similar functionalities.
References
- “KDE KWin Introduces Support For Server-Side Drop Shadows”, by Michael Larabel — Phoronix, 2026-07-16T21:10:33.000Z (ARR)
- Source URL: https://www.phoronix.com/news/KDE-Server-SIde-Drop-Shadows
Comments