jonls / redshift

Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night.
http://jonls.dk/redshift
GNU General Public License v3.0
5.87k stars 424 forks source link

Color temperature doesn't match the set value. #828

Open vksadek opened 3 years ago

vksadek commented 3 years ago

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.

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):