Bug 211464

Summary: Changing path to ~/Documents using systemsettings doesn't work as expected
Product: [Applications] systemsettings Reporter: Ahmad Samir <a.samirh78>
Component: kcm_desktoppathAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andresbajotierra, kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ahmad Samir 2009-10-22 19:11:49 UTC
Version:            (using KDE 4.3.2)
Compiler:          gcc version 4.4.1 
OS:                Linux
Installed from:    Mandriva RPMs

Using systemsettings> About Me> Paths, to change the path to e.g. ~/Documents, doesn't enclose the edited paths in " ", so on login when 'xdg-user-dirs-update' runs it nukes user-dirs.dirs and uses its default settings.

Test case:
- Open systemsettings> About Me> Paths
- Change /home/<user name>/Documents to /home/<user name>/Documents2
- notice that ~/.config/user-dirs.dirs changes:

XDG_DOWNLOAD_DIR="$HOME/Downloads"

to
XDG_DOCUMENTS_DIR=$HOME/Documents2  #(with " ")

- Run 'xdg-user-dirs-update' or log out > log in, ~/.config/user-dirs.dirs is reverted to its defaults.
Comment 1 Dario Andres 2009-10-23 15:11:16 UTC
The quotes problem was fixed already: check bug 177474 and http://websvn.kde.org/?view=revision&revision=1035639

Regards

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