SUMMARY If using the invert effect or a custom kwin effect, before recent changes the invert effect would apply to the whole desktop, including when overview and present windows were shown. Now, overview and present windows seem to render over everything, making any whole-desktop effect like invert not have an effect. similar to https://bugs.kde.org/show_bug.cgi?id=455895 but different. STEPS TO REPRODUCE 1. Enable Invert effect (Meta+Ctrl+I) 2. Toggle Present windows - observe 3. Toggle Overview - observe OBSERVED RESULT Screen is no longer inverted when present windows is shown. Screen is no longer inverted when overview is shown. EXPECTED RESULT Screen is inverted when present windows is shown. Screen is inverted when overview is shown. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux 5.15.55-2-lts KDE Plasma Version: 5.25.3 KDE Frameworks Version: 5.96.0 Qt Version: 5.15.5 ADDITIONAL INFORMATION
Can reproduce.
WindowHeap-based effects are rendered differently, while the invert effect operates per window basis. Would need to think about it. There are couple of challenges - the invert effect provides too many features that make it hard to make it work consistently in normal desktop mode and in effects such as overview
Is the inversion formula itself invertible? I.e. can it be applied twice to get the original color? If so, then it shouldn't be too difficult to implement, sacrificing a bit of CPU/GPU in rare cases when a fullscreen inversion is combined with per-window ones.
This is still present in Plasma 6 RC1.