https://bugs.kde.org/show_bug.cgi?id=517333
Vlad Zahorodnii <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/kwin/-/commit/6a7d1236d6 |ma/kwin/-/commit/ff94e2f7e6 |29ca28d4717da01ce8d3838599e |77789d3b5c9b902ed42117c6f42 |f29 |129 --- Comment #8 from Vlad Zahorodnii <[email protected]> --- Git commit ff94e2f7e677789d3b5c9b902ed42117c6f42129 by Vlad Zahorodnii. Committed on 02/06/2026 at 07:29. Pushed by vladz into branch 'Plasma/6.7'. scene/shadow: properly invalidate ShadowItem when window shadow visibility depends on state ShadowItem builds and caches its geometry (quads) based on both Shadow data and Window state. In particular, ShadowItem::buildQuads() depends on: Window::wantsShadowToBeRendered() -> !isFullScreen() && maximizeMode() != MaximizeFull However, ShadowItem was only invalidating its cached geometry when Shadow properties changed (offset, rect, texture). Changes in Window state that affect shadow visibility (maximize/fullscreen transitions) were not considered. This leads to a bug where: - When a window enters maximized/fullscreen state, shadow rendering may be disabled and the cached quads become empty. - If the window later returns to a non-maximized/non-fullscreen state without any geometry or shadow property changes, ShadowItem is not invalidated. - As a result, the cached empty quad list is reused and the shadow does not reappear, even though it should be rendered again. The root cause is missing invalidation of ShadowItem's cached quads on Window state changes that influence shadow visibility. This fix adds proper handling of window resize (maximized/fullscreen) events. (cherry picked from commit 6a7d1236d629ca28d4717da01ce8d3838599ef29) Co-authored-by: Evgeniy Harchenko <[email protected]> M +10 -1 src/scene/shadowitem.cpp M +1 -0 src/scene/shadowitem.h https://invent.kde.org/plasma/kwin/-/commit/ff94e2f7e677789d3b5c9b902ed42117c6f42129 -- You are receiving this mail because: You are watching all bug changes.
