This is one way to prevent counterintuitive things from happening. The
alternative would be to have the hardware brightness adjustment controls
actually change some GConf key in order to permanently change the default
setting. The big problem with that approach is that if you're calculating the
brightness with things like

brightness *= scale;

where scale < 1, then increasing the default maximum brightness to 1 will fail
to increase the current brightness to the maximum (for example when using
battery), which would be frustrating for the user. If they keep pressing the
brighten key, it should keep getting brighter until it physically can't.


** Attachment added: "Patch to keep track of what direction the brightness is 
supposed to be changing, and never do anything surprising."
   
http://launchpadlibrarian.net/12662247/never-adjust-brightness-in-the-wrong-direction.patch

-- 
Backlight no longer under my control on battery
https://bugs.launchpad.net/bugs/131885
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to