Bug 273437 - Screen brightness changes twice when using Fn+Home hotkey
Summary: Screen brightness changes twice when using Fn+Home hotkey
Status: RESOLVED NOT A BUG
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: powermanagement-daemon (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-16 19:49 UTC by Florian Kriener
Modified: 2011-05-30 14:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Kriener 2011-05-16 19:49:00 UTC
Version:           4.6 (using KDE 4.6.2) 
OS:                Linux

I used to have a lot of brightness levels (15) on my notebook and I always liked that, but since have upgraded to KDE SC 4.6 I lost half of them. The reason seems to be that KDE changes the screen brightness although the hardware does this by itself. It works as it should when I disable the keyboard shortcut, without showing the osd however, but the shortcuts are recreated after reboot.

My notebook is a T400s and the problem did not exist with kde 4.5.

Reproducible: Always

Steps to Reproduce:
Reboot and press Fn+Home

Actual Results:  
Screen brightness changes *twice*

Expected Results:  
Screen brightness changes *once*
Comment 1 Matěj Laitl 2011-05-29 22:18:13 UTC
Florian,
I think that this is not really a problem of KDE, but thinkpad-acpi module form kernel. It adjusts the brightness AND generates hotkey event. It should do only one of these.

As you said, it can be solved by "disabling" the keyboard shortcuts. But you say that they are recreated after reboot. Really? On my box (ThinkPad X220) they are preserved. (I just set "Increase/Decrease Screen Brightness" shortcuts to None)

PowerDevil IS able to detect brightness changes even WITHOUT these shortcuts set, but it does not display the OSD currently which is another bug. (bug 265357)
Comment 2 Florian Kriener 2011-05-30 14:05:57 UTC
(In reply to comment #1)
> I think that this is not really a problem of KDE, but thinkpad-acpi module form
> kernel. It adjusts the brightness AND generates hotkey event. It should do only
> one of these.

Yes, that makes sense. I though it was a bug in KDE because it worked before and someone broke it and it was not the kernel.
 
> As you said, it can be solved by "disabling" the keyboard shortcuts. But you
> say that they are recreated after reboot. Really? On my box (ThinkPad X220)
> they are preserved. (I just set "Increase/Decrease Screen Brightness" shortcuts
> to None)

I'll test that and just assume for the moment, that it works now.

> PowerDevil IS able to detect brightness changes even WITHOUT these shortcuts
> set, but it does not display the OSD currently which is another bug. (bug
> 265357)

Thank you very much.