Comment 86 for bug 257827

Revision history for this message
DΛRK ΘVΞRLΘΛD (dark-overload) wrote :

That's the first thing I did. Anyways I think I fixed the issue now but its a very ugly quick-fix. I commented out the calls to change inc/decrement the brightness values when the keys are pressed. I also had to always distrust the cached brightness value (like I said, ugly) to get the OSD to follow the changes in brightness that the kernel makes. As for the OSD still showing with no g-p-m, that was a strange issue, it hasn't happened again. My mangling of the cache trust system seems to have caused no serious bugs, but I've noticed only a couple little things that may or may not have already existed. None of the tiny bugs are as bad as the doubling up on the brightness control though so I can live with it until one of us makes a real patch or the Ubuntu team comes up with a better idea. If you want, I'll email you my changes, but I just don't want to put it online because of how ugly it is.