Bug 269310 - Senseless "System policies prevent you from getting the brightness level" dialog
Summary: Senseless "System policies prevent you from getting the brightness level" dialog
Status: RESOLVED DOWNSTREAM
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: powermanagement-daemon (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-24 14:57 UTC by Donn Washburn
Modified: 2014-01-07 22:59 UTC (History)
3 users (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 Donn Washburn 2011-03-24 14:57:06 UTC
Version:           4.6
OS:                Linux

openSuSE 11.4 RC2 x86-64

Every time that KDE goes to sleep or I mv to a console then come back.
I get an error "System policies prevent you from getting the brightness level" and then it needs the root password.  I tried that with no luck so now I just kill it.  Everything looks good.  Why do I have this pain it the tail

Reproducible: Didn't try

Steps to Reproduce:
Go to a console (runlevel 3) and back to X and there it is

Actual Results:  
The error details show
Application
Action         Get brightness
Vendor         KDE

Expected Results:  
It shouldn't even be there
Comment 1 Donn Washburn 2011-03-24 17:11:08 UTC
I did as you said and turned off "Power Management".  Will give that a try.
Comment 2 Stefan Majewsky 2011-06-26 12:29:39 UTC
Confirmed on openSUSE 11.4 Final with KDE Workspace 4.7 Beta 1 and Qt 4.7.3 (from KDE:Unstable:SC repo). I don't remember having this problem with KDE Workspace 4.6.x, though. Might be that openSUSE solved this problem in the 4.6 packages without forward-porting.

I tried to grant an implicit authorization in the "Actions Policy" KCM for "org.kde > powerdevil > KDE > Get/Set brightness", but it won't apply the changes (it also does not ask for authorization for changing the policies).

It does not help to add myself as a system administrator in the "Global Policy Configuration" KCM, although it remembers this setting at least.
Comment 3 Stefan Majewsky 2011-06-26 12:35:30 UTC
Forgot to add that this problem does not appear on another of my openSUSE 11.4 instances with KDE 4.7. Could be that PolicyKit is not set up there because I upgraded this system from 11.3 (and from 11.2 before that).
Comment 4 Donn Washburn 2011-06-26 13:30:04 UTC
I had it happen from 2 openSuSE systems 11.4 and now 12.1 all loaded from scratch off the INET.  I have a friend in England that claims 3 systems of 11.4 or 12.1 do not have the problem.  What vidio card do you have?  This one is a fresh loaded 12.1 and a NVidia GT 440 4M pci-e on a x86-64x4 machine.  Under 11.4 factory via the INET loaded it had th same problem.  As I remember even with a NV.run working
Comment 5 Stefan Majewsky 2011-06-27 09:18:16 UTC
(In reply to comment #4)
> What vidio card do you have?  This one is a
> fresh loaded 12.1 and a NVidia GT 440 4M pci-e on a x86-64x4 machine. 

The system which experiences the bug has a Geforce 7800 Go, the unaffected system has an Intel GMA X3100. The NVidia-based system experiences the bug both with the nouveau and the nvidia driver.
Comment 6 Donn Washburn 2011-06-27 13:45:18 UTC
My Friend in GB has a NV x86-64 system and doesn't have the problem.  I am currently building a openSuSE 2.6.39-2 basic kernel and will then try a NV.run.
I still think it is a gfx build problem when mkinitrd is run.  That is because the CD loaded worked but after adding a openSuSE kernel using cloneconfig and mkinitrd ran clean thing went downhill after a reboot.  I an now up with a failsafe kernel only not one Desktop, Default or Vanilla with the default grub menu.lst line.
Comment 7 Shervin Emami 2011-07-11 09:55:10 UTC
I have the same problem with my OpenSUSE 11.4 using KDE 4.6 on a laptop with an nVidia GPU. It turns out this is a wider known bug, with a known solution: "https://bugzilla.novell.com/show_bug.cgi?id=688267"
Comment 8 Donn Washburn 2011-07-11 12:54:34 UTC
Please Note:  I final got a DVD for 12.1 that works.  Loaded it and the problem is no more showing up on KDE4. So on 11.4 it is no longer a problem.   The only problem now is a page after page of "FIBMAP ignored" keeps showing up. As I remember it was on Desktop and Default kernels of 12.1 and the last 11.4 I loaded.
Comment 9 Dario Freddi 2011-09-30 12:20:48 UTC
That is an issue related to polkit, and it's unfortunately expected given we need to change the brightness through it. Although, our default policies prevent this dialog from appearing by denying the action completely. It is likely your distributions have changed those, hence causing the dialog to appear. I'm marking the bug as downstream, as the only workaround, which is in KDE vanilla, is to deny the action when the console is inactive.
Comment 10 Kevin Coonan 2014-01-07 22:59:59 UTC
This is still a problem w/ openSUSE 13.1 and KDE 4.11.4.