Bug 304529

Summary: kdeglobals is resetted to default each time you launch kcm kdm module.
Product: [I don't know] kde Reporter: pfoo <pfoo>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 4.9   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description pfoo 2012-08-03 23:52:42 UTC
Each time you launch kcm kdm configuration module, .kde/share/config/kdeglobals is populated with duplicates of all user defined values.

After rebooting, user-defined values ar definitively lost

Reproducible: Always

Steps to Reproduce:
1. Change kde fonts size or default browser using kcm
2. check that these values are applied in kdeglobals file
3. run kcmshells4 kdm (using gui or konsole) and exit it right away
4. check kdeglobals file again
Actual Results:  
duplicates of all user defined values are added in kdeglobals file

Here is a sample of my kdeglobals file :
[General]
BrowserApplication[$e]=!firefox -new-tab
BrowserApplication[$e]=!rekonq
XftHintStyle=hintmedium
XftHintStyle=hintmedium
desktopFont=Ubuntu,12,-1,5,50,0,0,0,0,0
desktopFont=Ubuntu,9,-1,5,50,0,0,0,0,0
fixed=Monospace,13,-1,5,50,0,0,0,0,0
font=Ubuntu,12,-1,5,50,0,0,0,0,0
font=Ubuntu,9,-1,5,50,0,0,0,0,0
menuFont=Ubuntu,12,-1,5,50,0,0,0,0,0
menuFont=Ubuntu,9,-1,5,50,0,0,0,0,0
smallestReadableFont=Ubuntu,11,-1,5,50,0,0,0,0,0
smallestReadableFont=Ubuntu,8,-1,5,50,0,0,0,0,0
taskbarFont=Ubuntu,12,-1,5,50,0,0,0,0,0
taskbarFont=Ubuntu,9,-1,5,50,0,0,0,0,0
toolBarFont=Ubuntu,11,-1,5,50,0,0,0,0,0
toolBarFont=Ubuntu,8,-1,5,50,0,0,0,0,0
widgetStyle=oxygen

Expected Results:  
kdeglobals should stay as it was before running kcm kdm module

Here is how my kdeglobals file should have stayed
[General]
BrowserApplication[$e]=!firefox -new-tab
XftHintStyle=hintmedium
desktopFont=Ubuntu,12,-1,5,50,0,0,0,0,0
fixed=Monospace,13,-1,5,50,0,0,0,0,0
font=Ubuntu,12,-1,5,50,0,0,0,0,0
menuFont=Ubuntu,12,-1,5,50,0,0,0,0,0
smallestReadableFont=Ubuntu,11,-1,5,50,0,0,0,0,0
taskbarFont=Ubuntu,12,-1,5,50,0,0,0,0,0
toolBarFont=Ubuntu,11,-1,5,50,0,0,0,0,0
widgetStyle=oxygen
Comment 1 Christoph Feck 2012-08-04 00:08:20 UTC

*** This bug has been marked as a duplicate of bug 254430 ***