Bug 302160 - Screen brightness resets after a short time when manually changing it in the plasmoid
Summary: Screen brightness resets after a short time when manually changing it in the ...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-battery (show other bugs)
Version: 4.9.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 310377 310873 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-18 23:59 UTC by Kai Uwe Broulik
Modified: 2013-05-06 15:53 UTC (History)
15 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.4
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2012-06-18 23:59:33 UTC
When increasing the screen brightness (which I have set quite low when on battery) in the battery plasmoid, after a short time, the brightness reverts to the default setting afterwards. It does not matter whether I move the mouse or let it idle. It just reverts anyway.

Reproducible: Always
Comment 1 Christian (Fuchs) 2012-06-29 16:23:39 UTC
Confirmed here, 4.9 RC1 on gentoo, nvidia (might be important, since nvidia brightness handling is a bit special). 

Might be related to https://bugs.kde.org/show_bug.cgi?id=302111
Comment 2 Julia 2012-07-06 00:47:25 UTC
Confirmed here, as well, 4.8.90 beta 2 on Kubuntu 12.04.  However, I'm using an Intel integrated graphics controller; nothing nvidia related on my laptop.
Comment 3 Matt Ruffalo 2012-07-12 03:31:53 UTC
Confirmed for me also. 4.8.90 on Kubuntu Quantal. I'm also using an Intel integrated graphics controller on my Thinkpad X61 Tablet. Changing the brightness with the Fn+F7 key combination causes the change to "stick" (at least, it has stayed at the level I chose for the last few minutes).
Comment 4 railmaniac 2012-08-03 16:45:59 UTC
Confirmed, Ubuntu 12.04 64 bit. Integrated Intel graphics.
Comment 5 railmaniac 2012-08-03 16:55:08 UTC
(In reply to comment #4)
> Confirmed, Ubuntu 12.04 64 bit. Integrated Intel graphics.

Currently found a workaround - to disable KDE power management and set brightness manually.
Comment 6 railmaniac 2012-08-03 17:17:16 UTC
(In reply to comment #4)
> Confirmed, Ubuntu 12.04 64 bit. Integrated Intel graphics.

Oh, and KDE version is 4.9.00
Comment 7 Karthik Periagaram 2012-08-04 15:30:38 UTC
Can some one check if this still happens if you disable the "dim display" option in the power management settings? My theory is that the dim screen option disregards the current brightness level (or even the "display brightness" setting in the kcm) and adjusts the brightness based on a 100–0 scale. This causes the screen to appear to brighten.

The following link points to another user reporting similar behavior on kreddit: http://www.reddit.com/r/kde/comments/xjyk6/laptop_screen_dimming_issue/
Comment 8 railmaniac 2012-08-08 17:40:06 UTC
(In reply to comment #7)
> Can some one check if this still happens if you disable the "dim display"
> option in the power management settings? My theory is that the dim screen
> option disregards the current brightness level (or even the "display
> brightness" setting in the kcm) and adjusts the brightness based on a 100–0
> scale. This causes the screen to appear to brighten.
> 
> The following link points to another user reporting similar behavior on
> kreddit:
> http://www.reddit.com/r/kde/comments/xjyk6/laptop_screen_dimming_issue/

I just tried and it seems to be working. Now the brightness retains the setting I make on the battery plasmoid.

There's actually more at play here. Originally it used to brighten even if I was using the keyboard and mouse - not just when idle. I'm guessing the dim display just considers time and not inactivity.
Comment 9 railmaniac 2012-08-14 17:01:37 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Can some one check if this still happens if you disable the "dim display"
> > option in the power management settings? My theory is that the dim screen
> > option disregards the current brightness level (or even the "display
> > brightness" setting in the kcm) and adjusts the brightness based on a 100–0
> > scale. This causes the screen to appear to brighten.
> > 
> > The following link points to another user reporting similar behavior on
> > kreddit:
> > http://www.reddit.com/r/kde/comments/xjyk6/laptop_screen_dimming_issue/
> 
> I just tried and it seems to be working. Now the brightness retains the
> setting I make on the battery plasmoid.
> 
> There's actually more at play here. Originally it used to brighten even if I
> was using the keyboard and mouse - not just when idle. I'm guessing the dim
> display just considers time and not inactivity.

Belay that. I rebooted once and now the problem is back.
Comment 10 Ezio Vergine 2012-08-17 13:53:16 UTC
Same problem here. Kde 4.9, arch linux, intel i7.

I'have tried to disable "dim display" buti it don't work, also if unflag "power management enabled" in battery widget. I've tried to enable or disable dpms (xset -dpms) but the result is the same. Bye
Comment 11 Kai Uwe Broulik 2012-08-22 12:29:57 UTC
Here it resets the brightness back to maximum, even though I configured the brightness to be 2/3 when on AC power. I click the brightness slider and after 10 seconds, the brightness pops back to maximum. Makes my new notebook hardly usable.
Comment 12 Myriam Schweingruber 2012-09-08 11:35:44 UTC
Confirmed by various users.
Comment 13 Jacob 2012-09-22 20:38:38 UTC
Also having this problem. KDE 4.9, Arch, AMD.

If it's night time it seems to want to keep the screen as bright as possible, and if it's during the day it wants to keep it as dark as possible.

I've disabled 'Dim Display' on all energy settings. That didn't change it. I've upped the brightness manually and then disabled the 'Display Brightness' setting on all modes. That seems to have switched it from completely dimmed to completely bright. Still not exactly sure what I do to switch it between completely bright/dark, but it definitely switches from something.
Comment 14 Kai Uwe Broulik 2012-10-28 17:12:46 UTC
I just found out, when I go to plasmaengineexplorer and select the powermanagement dataengine, it already resets the engine. So, whenever the engine is queried, it resets the brightness. This is probably also the cause why the brightness resets after a certain time.
Comment 15 Gregor Tätzner 2012-11-21 19:58:23 UTC
Git commit 285553edce61f65a88d9067136bf138e44efb149 by Gregor Tätzner.
Committed on 21/11/2012 at 20:47.
Pushed by gregort into branch 'KDE/4.9'.

Fix screenBrightnessChanged signal in upower backend

emit onBrightnessChanged every time when a new brightness gets set and
not just on brightnessKey press
Related: bug 302111
FIXED-IN: 4.9.4
REVIEW: 107398

M  +12   -8    powerdevil/daemon/backends/upower/powerdevilupowerbackend.cpp

http://commits.kde.org/kde-workspace/285553edce61f65a88d9067136bf138e44efb149
Comment 16 Gregor Tätzner 2012-11-21 19:58:26 UTC
Git commit 1d08f4779a26ebba757111fd99182034e5282624 by Gregor Tätzner.
Committed on 21/11/2012 at 20:47.
Pushed by gregort into branch 'master'.

Fix screenBrightnessChanged signal in upower backend

emit onBrightnessChanged every time when a new brightness gets set and
not just on brightnessKey press
Related: bug 302111
FIXED-IN: 4.9.4
REVIEW: 107398

M  +12   -8    powerdevil/daemon/backends/upower/powerdevilupowerbackend.cpp

http://commits.kde.org/kde-workspace/1d08f4779a26ebba757111fd99182034e5282624
Comment 17 Gregor Tätzner 2012-11-22 21:09:39 UTC
*** Bug 310377 has been marked as a duplicate of this bug. ***
Comment 18 Maarten De Meyer 2012-11-29 15:49:53 UTC
*** Bug 310873 has been marked as a duplicate of this bug. ***
Comment 19 Jairo Honorio 2013-05-06 08:38:36 UTC
I have this problem in 4.9.5 under Linux Mint 14. Maybe it is related, but my fn brightness keys won't work either. Before, in LM 13, everything worked ok.
Comment 20 Ezio Vergine 2013-05-06 15:53:11 UTC
With kde 4.10.2 it seems resolved.