After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 614610 - config behaviour regarding xdg-user-dirs doesn't work properly
config behaviour regarding xdg-user-dirs doesn't work properly
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: tracker-general
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2010-04-01 19:14 UTC by Tshepang Lekhonkhobe
Modified: 2010-05-19 10:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
edit to src/miners/fs/tracker-config.c (2.41 KB, patch)
2010-04-01 19:17 UTC, Tshepang Lekhonkhobe
rejected Details | Review

Description Tshepang Lekhonkhobe 2010-04-01 19:14:10 UTC
It's hard to describe this bug, but the attached patch should help with that.
Comment 1 Tshepang Lekhonkhobe 2010-04-01 19:17:30 UTC
Created attachment 157715 [details] [review]
edit to src/miners/fs/tracker-config.c

my tests look fine but I don't know what I could be breaking
Comment 2 Carlos Garnacho 2010-04-05 16:15:25 UTC
Hi! Default tracker-miner-fs.cfg file (re)generation (on first run, config files being deleted, ...) would be broken with this patch, these aliases are precisely there to cope with locale changes and such, what's the problem you're trying to fix?
Comment 3 Tshepang Lekhonkhobe 2010-04-05 16:38:10 UTC
When I manually put '/home/wena' (IndexRecursiveDirectories) into miner-fs config and click Apply using prefs GUI, that 'home/wena' is transformed into &DOCUMENTS.
Comment 4 Carlos Garnacho 2010-05-05 16:19:04 UTC
Dup of #616548

*** This bug has been marked as a duplicate of bug 616548 ***
Comment 5 Tshepang Lekhonkhobe 2010-05-07 09:59:36 UTC
To reproduce to this:

1 $ watch grep IndexRecursiveDirectories= ~/.config/tracker/tracker-miner-fs.cfg
2 go to Locations tab of tracker-preferences
3 click (+) button
4 click Home
5 click Apply
6 watch it add "&DOCUMENTS" instead of home dir
Comment 6 Carlos Garnacho 2010-05-19 10:54:42 UTC
I've changed the configuration saving code in master so $HOME takes precendence over XDG dirs.