GNOME Bugzilla – Bug 646522
keyboard backlight dimming doesn't remember previous brightness
Last modified: 2019-03-20 10:53:42 UTC
I set the backlight to zero using the keys on my keyboard and then wait for the computer to dim. After touching the keyboard to resume from dim the keyboard brightness goes up to 100% instead of the expected value of zero.
Created attachment 184937 [details] [review] patch that seems to correct the issue for me The patch above seems to fix the issue for me. I'm not really confident in it though, since I haven't really gotten a grip of how the code works. E.g. why the split between master_percentage and brightness_percent?
Is this still a problem now that gnome-settings-daemon handles keyboard brightness?
@Bastien: I can reproduce this behavior on a MacbookPro3,1 running Ubuntu 14.04 with g-s-d 3.8.6.1-0ubuntu3. To reproduce: 1) Boot the machine + login. Observe that the keyboard backlight is on 2) Press the backlight toggle key. Observe that the keyboard backlight goes off 3) Wait for the screensaver to kick in (the screen dims) 4) When the screen goes completely black, move the mouse cursor or touch the keyboard Expected results: The keyboard backlight remains off Actual results: The keyboard backlight comes on This is 100% reproducible for me. The incorrect behavior seems related specifically to toggling the backlight. If in step 2 you reduce brightness using the brightness down key (instead of using the toggle), the backlight stay off as expected after step 4.
Does this still happen with more recent versions of gnome-settings-dameon? Don't forget to update the status of the bug, NEEDINFO bugs don't show up in the default queries...
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/169.