Bug 414809 - Display graph of temperature and dimming like f.lux
Summary: Display graph of temperature and dimming like f.lux
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_nightcolor (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-03 22:20 UTC by postix
Modified: 2023-11-28 19:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 6


Attachments
Screenshot of f.lux (52.81 KB, image/jpeg)
2019-12-03 22:20 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2019-12-03 22:20:32 UTC
Created attachment 124301 [details]
Screenshot of f.lux

f.lux has this graph showing the curve of the temperature and dimming against the daytime, as it can be seen in the screenshot. It's also possible to move a slider on graph to simulate specific day time settings.

It's also possible to choose between several curves or to see changes in the curve if the maximum redshift or dimming is changed. 

Maybe we could have that too. :-)
Comment 1 Nate Graham 2019-12-05 16:35:27 UTC
This strikes me as excessively nerdy for most users and use cases. What do you gain by seeing and being able to manipulate the curve?
Comment 2 postix 2019-12-05 17:46:58 UTC
(In reply to Nate Graham from comment #1)
> This strikes me as excessively nerdy for most users and use cases. What do
> you gain by seeing and being able to manipulate the curve?

Just found out that I can set the "sunset time" and "sunrise time" to arbitrary values.

I guess the effect starts taking effect at the sunset time and goes from the (maximum) normal temperature to the defined minimum temperature in a linear way, with a slope defined by the duration?
Without a curve I just can guess. 

In the end I would like to have some defined profiles, e.g. for a working day or for a movie night. I find it practical to have the temperature development visualized in this case: Until what time stays the temperature constant for the movie? What value does it have there?

Maybe those are all very special cases and my desire comes from the fact that I deal with graphs daily. Soon is Christmas, no?  :-)

If I find some time next year (hopefully) I may look into it, iff you are interested in having such a (nerdy) feature.
Comment 3 Nate Graham 2019-12-13 20:48:06 UTC
You know, I think showing a graph is reasonable after all. Multiple curves I'm less sure about, but the graph makes sense to help people visualize the behavior.
Comment 4 Bug Janitor Service 2023-11-22 21:32:25 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3586
Comment 5 Ismael Asensio 2023-11-28 19:33:39 UTC
Git commit afe0675e8c8e66e39a06c39a670b4f0105c86dbc by Ismael Asensio.
Committed on 28/11/2023 at 20:20.
Pushed by iasensio into branch 'master'.

kcms/nightcolor: Add a graphic view of the day/night timings

Show the scheduled times and transitions for the day and night
lighting in a graphical view that portraits a 0-24h horizontal
axis, with icons for each state and a gradient with the actual
temperature colors for the transitions.

This view is placed on top to avoid visual jittering (going up
and down) between the different modes, and also clashing with
other visual elements, like the manual location map.
FIXED-IN: 6

A  +237  -0    kcms/nightcolor/ui/DayNightView.qml     [License: GPL(v2.0+)]
D  +0    -41   kcms/nightcolor/ui/TimingsView.qml
M  +49   -21   kcms/nightcolor/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/afe0675e8c8e66e39a06c39a670b4f0105c86dbc