Commit 3d3dca4a breaks brightness setting by only allowing 3 different brightness states
Starting with commit 3d3dca4a g-s dims my screen to the lowest brightness setting. Changing the brightness using the "special keys" on the keyboard changes the brightness for a fraction of a second, but then resets to the lowest setting.
Holding down the key to increase the brightness setting until the brightness level reaches >= 50% of the brightness bar, won't reset the brightness to 0%, but instead sets it to 50%.
It seems that starting with the aforementioned commit, g-s only allows 3 brightness states: 0%, 50% and 100%.
g-s seems to select the highest of these values that is still under the desired brightness setting, i.e. Trying to set a brightness setting at 40% will lead into g-s setting the brightness to 0% instead of 40%.
Trying to set a brightness at 60% will lead into g-s setting the brightness to 50% instead of 60%.
Also to note: After setting the brightness state, g-s crashes after using it more than a few minutes. However, there is unfortunately no coredump in coredumpctl regarding this crash.
This behaviour (and the crash) do not happen before that commit.