Bug 21160

Summary: Plasma5 Power Management changes won't "stick"
Product: Mageia Reporter: Frank Griffin <ftg>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, jan-bugs, marja11, ouaurelien
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: plasma CVE:
Status comment:

Description Frank Griffin 2017-06-28 18:29:55 CEST
In the last few days, cauldron plasma has broken System Settings -> Power Management.

I have had screen dimming/blanking turned off in my laptop since forever because I had found that if it were turned on for any setting (battery, low battery) it affected AC as well.  All of a sudden it got turned back on for all three power settings, and it won't turn off.  You can uncheck the boxes in the GUI, and choose Apply, but if you exit System Settings and come back in, the boxes are checked again.
Marja Van Waes 2017-06-28 19:06:21 CEST

CC: (none) => marja11
Assignee: bugsquad => kde
Summary: Power Management changes won't "stick" => Plasma5 Power Management changes won't "stick"

Comment 1 Frank Griffin 2018-11-16 18:32:32 CET
This still fails in current cauldron.  When systemsettings5 is run from the command line, the following appears:

[ftg@ftglap ~]$ /usr/bin/systemsettings5
QCoreApplication::arguments: Please instantiate the QApplication object first
WARNING: viewBackgroundColor is deprecated, use backgroundColor with colorSet: Theme.View instead
KActivities: Database connection:  "kactivities_db_resources_140356390746240_readonly" 
    query_only:          QVariant(qlonglong, 1) 
    journal_mode:        QVariant(QString, "wal") 
    wal_autocheckpoint:  QVariant(qlonglong, 100) 
    synchronous:         QVariant(qlonglong, 0)
Nothing to load - the client id is empty
Nothing to load - the client id is empty
powerdevil: ("LowBattery", "migration", "AC", "Battery") ()
powerdevil: "Button events handling"  has a runtime requirement
powerdevil: "Keyboard backlight"  has a runtime requirement
powerdevil: "Screen Energy Saving"  has a runtime requirement
powerdevil: "Screen brightness"  has a runtime requirement
powerdevil: "Dim screen"  has a runtime requirement
powerdevil: "Wireless"  has a runtime requirement
powerdevil: "Button events handling"  has a runtime requirement
powerdevil: "Keyboard backlight"  has a runtime requirement
powerdevil: "Screen Energy Saving"  has a runtime requirement
powerdevil: "Screen brightness"  has a runtime requirement
powerdevil: "Dim screen"  has a runtime requirement
powerdevil: "Wireless"  has a runtime requirement
powerdevil: "Button events handling"  has a runtime requirement
powerdevil: "Keyboard backlight"  has a runtime requirement
powerdevil: "Screen Energy Saving"  has a runtime requirement
powerdevil: "Screen brightness"  has a runtime requirement
powerdevil: "Dim screen"  has a runtime requirement
powerdevil: "Wireless"  has a runtime requirement
powerdevil: Loading routine called
powerdevil: ()Screen 
powerdevil: Ok, KConfigGroup ready ("icon")
powerdevil: ()
powerdevil: Ok, KConfigGroup ready ("icon")
powerdevil: ()
powerdevil: Ok, KConfigGroup ready ("icon")
KActivitiesStats( 0x26282a0 ) ResultModelPrivate::onResultScoreUpdated  result added: "kcm:powerdevilprofilesconfig.desktop" score: 3 last: 1542388980 first: 1542388527
Closing SQL connection:  "kactivities_db_resources_140356390746240_readonly"
[ftg@ftglap ~]$ 

The desired changes are to unselect "Dim screen" and "Screen Energy Saving" on AC Power"
Comment 2 Frank Griffin 2019-02-19 17:16:26 CET
Still happening in current cauldron.
Comment 3 David GEIGER 2019-02-19 21:36:31 CET
Hmmmm! maybe another missing dependency but I can not find which one :(

CC: (none) => geiger.david68210

Comment 4 JanKusanagi 2019-02-19 22:22:26 CET
Just in case, have you tried this with a fresh, new user?

CC: (none) => jan-bugs

Comment 5 Frank Griffin 2020-01-18 06:13:02 CET
That works.  Any idea what to change on my existing user ?
Comment 6 Aurelien Oudelet 2021-05-17 02:27:25 CEST
Status of this bug?

Shall you remove some powerdevil config file under ~/.config/ and/or ~/.local/ hidden folders in your user's home directory?

Unsure what is its name.

CC: (none) => ouaurelien

Comment 7 Frank Griffin 2022-12-20 01:18:36 CET
As of the new code for Plasma uploaded today, this is working again.

Status: NEW => RESOLVED
Resolution: (none) => FIXED