Bug 344905

Summary: Advanced Settings shows empty dropdown for "At Critical Level"
Product: [Plasma] Powerdevil Reporter: Martin Flöser <mgraesslin>
Component: generalAssignee: Plasma Development Mailing List <plasma-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.2.2
Attachments: Screenshot illustrating the problem

Description Martin Flöser 2015-03-06 15:01:41 UTC
Created attachment 91450 [details]
Screenshot illustrating the problem

Steps to reproduce:
1. Grab latest KCI image (see https://mail.kde.org/pipermail/plasma-devel/2015-March/039840.html )
2. Open Systemsettings
3. Power Management
4. Advanced Settings

Actual Result:
At critical level dropdown has nothing selected

Expected Result:
One of the possible choices is pre-selected.

See attached screenshot
Comment 1 Kai Uwe Broulik 2015-03-08 13:00:16 UTC
Git commit 00eed59164a92c70030913728e81c37397b53551 by Kai Uwe Broulik.
Committed on 08/03/2015 at 12:58.
Pushed by broulik into branch 'Plasma/5.2'.

Fix default critical action

The default is hibernate but might not be available on the given machine.
Also save the PowerDevilSettings afterwards, or else it won't pick up our change
to the setting. The action is not in the powermanagementprofilesrc but powerdevilrc.
FIXED-IN: 5.2.2

M  +6    -4    daemon/powerdevilprofilegenerator.cpp

http://commits.kde.org/powerdevil/00eed59164a92c70030913728e81c37397b53551