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.
Describe the bug
When sending the USR1 signal to redshift to toggle it's inhibit state (for example via the redshift-gtk context menu) while redshift is currently waiting for the initial location from geoclue, redshift crashes.
Ensure that getting the initial location via geoclue is slow (either by completely disconnecting all networks or using a slow method like wifi)
Start Redshift
Send the USR1 signal to redshift before the initial location has been determined
Redshift will crash with the error above
Expected behavior
When receiving the USR1 signal, redshift should always toggle it's inhibit state and never crash.
Error output/logs/screenshots
Failed to run Redshift
Trying location provider 'geoclue2'...
Waiting for initial location to become available...
poll: Interrupted system call
Unable to get location from provider.
Software versions (please complete the following information):
OS: Linux
Redshift version: redshift 1.12
Distribution: Arch
Redshift installed from: Official arch repositories
Describe the bug When sending the
USR1
signal to redshift to toggle it's inhibit state (for example via the redshift-gtk context menu) while redshift is currently waiting for the initial location from geoclue, redshift crashes.To Reproduce
USR1
signal to redshift before the initial location has been determinedExpected behavior When receiving the
USR1
signal, redshift should always toggle it's inhibit state and never crash.Error output/logs/screenshots
Software versions (please complete the following information):