Color temperature doesn't match the set value.
Describe the bug I used to use older version of redshift. Usually, I set the color manually on the basis of surrounding light. I'm usually using 2600 K during the day and 1800 K in a dark room without a lamp.
But after upgrade, the behavior changed.
Whatever temperature I set, it works correctly on the first step, but when I change the temperature once more, the result is something what I do not desire (darker, red-only)
Whenever I query redshift -p i get .. Color temperature: 6500K Brightness: 1.00
It is the problem described in #620.
I think, adding a reset argument is not the solution. Setting the color temperature should set the color temperature. And querying a temperature, I wish I get the temperature that was previously set.
- [x] I have checked the FAQ and my issue is not mention there.
To Reproduce $ redshift -O 3000 $ redshift -p | grep temperature Color temperature: 6500K $ redshift -O 3000 (color temperature obviously not matching 3000 K)
Expected behavior $ redshift -O 3000 $ redshift -p | grep temperature Color temperature: 3000K $ redshift -O 3000 (color temperature matching 3000 K)
Software versions (please complete the following information):
- OS: Lubuntu
- Redshift version: 1.12
- Distribution: Ubuntu
- Redshift installed from: "using apt-get"
Redshift doesn't keep track oneshot-applied temperature adjustments (I really don't think it should). So when it says, 6500K, that's what Redshift starts at as that is the standard temperature (no adjustment).
Determining what applied temperature is applied is impossible because other affects (such colour calibration) could be applied, and all of them has to be accounted for in the calculation, which obviously cannot be done, so the best that could be done is an inaccurate, mathematically complicated, guess including multiple common effects.
In a while I will however publish a fork (on my codeberg account, it will be called redshift-ng) that includes https://github.com/jonls/redshift/pull/410. Maybe it will fix this; otherwise radharc already does.