Bug 397793

Summary: Powermanagement settings are not saved when xdg config dirs overwrite default settings
Product: [Plasma] Powerdevil Reporter: Leszek Lesner <leszek.lesner>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: REOPENED ---    
Severity: normal CC: bugseforuns, kde, plasma-bugs
Priority: NOR    
Version: 5.13.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Leszek Lesner 2018-08-23 14:12:57 UTC
Opening up the settings of the battery and powermanagement widget and unticking boxes for display timeout or others and hitting apply and reopening the settings shows them checked again. 

Changing the values only and hitting apply saves the settings and reopening shows the right settings. 

The config file seems to be written correctly. Though when unchecking the settings it removes all previously stored values. So it will initialize with default values on reopening.
Comment 1 Leszek Lesner 2018-08-23 14:22:02 UTC
Seems to be a bad combination of a default settings file shipped with the distribution as default in a xdg data dir folder.
Comment 2 Patrick Silva 2018-09-14 17:27:20 UTC
Cannot confirm on Arch Linux, plasma 5.14 beta.
Really it seems some bug with your distro.
Comment 3 Leszek Lesner 2018-09-14 17:31:13 UTC
Powermanagement should still be able to save settings even though xdg config dirs overwrites its default settings.
So it is not a downstream bug.
Comment 4 David Edmundson 2018-10-31 03:03:51 UTC
Can you include this default settings from this distro?