Bug 211464 - Changing path to ~/Documents using systemsettings doesn't work as expected
Summary: Changing path to ~/Documents using systemsettings doesn't work as expected
Status: RESOLVED DUPLICATE of bug 177474
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_desktoppath (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-22 19:11 UTC by Ahmad Samir
Modified: 2009-10-23 15:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***