SUMMARY Plasma 5.18 will have an applet to enable/disable Night Color feature from systray. \o/ Possibility to adjust the color temperature by moving the mouse wheel on its icon like we can do with Redshift applet would be very nice.
*** Bug 418193 has been marked as a duplicate of this bug. ***
*** Bug 444144 has been marked as a duplicate of this bug. ***
I'm thinking about how this would be implemented. Presumably, the applet would need to change the config (kwinrc NightColor) as the KCM does?
(In reply to Oliver Beard from comment #3) > I'm thinking about how this would be implemented. Presumably, the applet > would need to change the config (kwinrc NightColor) as the KCM does? Maybe you could copy the UI from the redshift control widget: https://github.com/kotelnik/plasma-applet-redshift-control
I think unfortunately we have to say no to this, since the Night Color widget was merged with the Brightness widget which already changes the *screen* brightness with a scroll. This means we can't make anything else change on scroll. Conceivably we could offer a configuration option to let people choose what gets changed when scrolling, but that's kind of a crazy overkill feature IMO, and would lead to basically dead code since almost nobody would ever change the setting. There's also the option for us to dynamically change what a scroll does based on what the current state is; when Night Light is active, we could have a scroll change the color temperature rather than the screen brightness for example. This might work better, but I think it would be unexpected for the UX to change like this. As a result for now we have to say no to this feature. Sorry to everyone who was holding out hope for it.
Since Night Light has now been integrated into the Brightness applet where scrolling already changes screen brightness, we can't really have both. I also think that it's better to have applet actions reserved for on-the-fly changes to state that changes between sessions, and leave permanent configuration (such as night temperature) to the system settings.
(In reply to Natalie Clarius from comment #6) > Since Night Light has now been integrated into the Brightness applet where > scrolling already changes screen brightness, we can't really have both. > I also think that it's better to have applet actions reserved for on-the-fly > changes to state that changes between sessions, and leave permanent > configuration (such as night temperature) to the system settings. I think it'd be quite inconsistent to have clicks control night temperature on/off but scrolls control brightness. It'd also be quite a breaking change compared to the widget which this is meant to supercede: https://github.com/KDE/plasma-redshift-control
The switch doesn't disable night light line setting it to "off" in the system settings module does, it just pauses it. Though admittedly that distinction is not very obvious.
(The switch in the applet or middle click I meant).
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4262
Git commit 0af47262d53f6b5acd515f9a255cb2e2b409fb15 by Natalie Clarius. Committed on 02/05/2024 at 23:19. Pushed by nclarius into branch 'master'. applets/brightness: clarify UI of Night Light inhibition To clarify that the toggle action (switch and middle-click in the applet) for Night Light merely temporarily disables the blue light filter, rather than turning the schedule off permanently like the "Disabled" setting in the KCM does, - use "suspended/resume" terminology instead of "off/on", - set a label on the switch, - turn the switch around so that the on state means inhibited, so that the UI becomes similar to "Do not disturb mode" in the notification applet. M +3 -2 applets/brightness/package/contents/ui/NightLightItem.qml M +7 -3 applets/brightness/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/0af47262d53f6b5acd515f9a255cb2e2b409fb15