<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>304529</bug_id>
          
          <creation_ts>2012-08-03 23:52:42 +0000</creation_ts>
          <short_desc>kdeglobals is resetted to default each time you launch kcm kdm module.</short_desc>
          <delta_ts>2012-08-04 00:08:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>8</classification_id>
          <classification>I don&apos;t know</classification>
          <product>kde</product>
          <component>general</component>
          <version>4.9</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>254430</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="pfoo">pfoo</reporter>
          <assigned_to name="Unassigned bugs">unassigned-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1281190</commentid>
    <comment_count>0</comment_count>
    <who name="pfoo">pfoo</who>
    <bug_when>2012-08-03 23:52:42 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1281192</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2012-08-04 00:08:20 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 254430 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>