| Summary: | "Desaturate Unresponsive Applications" ignores Night Color | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Ilya Bizyaev <bizyaev> |
| Component: | night color | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | kde, postix, xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 6.1.4 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=515194 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Photo
How GPU Screen Recorder sees it What Spectacle shows when making the screenshot What Spectacle saves to the file How I see it (behind is about:blank for comparison) |
||
|
Description
Ilya Bizyaev
2024-09-05 21:15:43 UTC
Created attachment 173367 [details]
Photo
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6358 Can't reproduce, it looks exactly like it should here. I don't know how it could happen differently either, night light is applied after compositing has already happened, so it acts on all pixels the exact same. We *are* doing night light kind of wrong though, and the linked MR fixes that. Could you test if it changes anything for you? 🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! >A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6358
reporter claimed on the linked MR (which is not merged) that it did not fix the issue
Can you still replicate this issue on 6.3+? Nope, seems to be gone :) Meh, it's still there — reproduced with Zed today, attaching the screenshots of the issue: 1) Visible with GPU Screen Recorder 2) Not visible with Spectacle for some reason Created attachment 184690 [details]
How GPU Screen Recorder sees it
Created attachment 184691 [details]
What Spectacle shows when making the screenshot
Created attachment 184692 [details]
What Spectacle saves to the file
Created attachment 184693 [details]
How I see it (behind is about:blank for comparison)
New system info: Operating System: openSUSE Tumbleweed 20250902 KDE Plasma Version: 6.4.4 KDE Frameworks Version: 6.17.0 Qt Version: 6.9.2 Kernel Version: 6.16.3-1-default (64-bit) Graphics Platform: Wayland Processors: 32 × Intel® Core™ i9-14900K Graphics Processor: NVIDIA GeForce RTX 4070 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/8656 I looked into this again, and found the actual cause of the problem: The shader clipped in the wrong place. The merge request fixes that, but there's another thing, which makes the shader only clip to much higher values than it should, if you have EDR enabled (even while it's not doing anything). I still need to fix that separately. Git commit 883323a592840b2fa8e5c6766dbeafb77218145d by Xaver Hugl. Committed on 12/02/2026 at 21:55. Pushed by zamundaaa into branch 'master'. opengl/glshadermanager: do tonemapping + clipping after modulation Otherwise, modulation can increase values beyond the maximum luminance of the output. M +3 -1 src/opengl/glshadermanager.cpp https://invent.kde.org/plasma/kwin/-/commit/883323a592840b2fa8e5c6766dbeafb77218145d A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/8794 Git commit 58a86ad100d7a664267c84f098f6fd80c88dc502 by Xaver Hugl. Committed on 13/02/2026 at 11:48. Pushed by zamundaaa into branch 'Plasma/6.6'. opengl/glshadermanager: do tonemapping + clipping after modulation Otherwise, modulation can increase values beyond the maximum luminance of the output. (cherry picked from commit 883323a592840b2fa8e5c6766dbeafb77218145d) Co-authored-by: Xaver Hugl <xaver.hugl@kde.org> M +3 -1 src/opengl/glshadermanager.cpp https://invent.kde.org/plasma/kwin/-/commit/58a86ad100d7a664267c84f098f6fd80c88dc502 |