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 522619 - Totem doesn't match entirely FreeDesktop directories specs (playlist backuped file should be in $XDG_DATA_HOME)
Totem doesn't match entirely FreeDesktop directories specs (playlist backuped...
Status: RESOLVED NOTABUG
Product: totem
Classification: Core
Component: general
2.22.x
Other All
: Normal minor
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks: 523057
 
 
Reported: 2008-03-15 14:58 UTC by antistress
Modified: 2009-10-13 17:33 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description antistress 2008-03-15 14:58:19 UTC
Please describe the problem:
From Totem release notes :
NEWS: totem-2.21.94:
Note that configuration files are now in ~/.config/totem/ instead
of ~/.gnome2/Totem. You will need to move the files by hand

But actually Totem doesn't match entirely FreeDesktop directories specs : the backuped file for playlist should be in $XDG_DATA_HOME.

The default for $XDG_DATA_HOME is $HOME/.local/share but Totem proposed me to backup the list in $home/

Steps to reproduce:
Watch videos
Press the button to save your playlist


Actual results:
The "save in folder..." window default choice is $home/

Expected results:
The "save in folder..." window default choice should be $XDG_DATA_HOME

Does this happen every time?
yes

Other information:
Comment 1 antistress 2008-03-15 15:22:28 UTC
Moreover, maybe that the user should not have to care about the "playlist backuped file stored on a directory" concept
Totem could have an UI that allow user to select a backuped playlist without having to navigate in directories
Directories and files data structure should be hidden to the user
(same Principle that in that bug report https://bugs.launchpad.net/ubuntu/+source/gnome-volume-manager/+bug/199471 )
Comment 2 Bastien Nocera 2008-03-15 15:33:33 UTC
It's not a backup file, it's the playlist for session restore. It's not to be used by users directly, but by the session manager when restoring Totem.
Comment 3 Lionel Dricot 2008-03-15 15:43:20 UTC
I don't agree with this bug. The XDG_DATA_HOME should never be exposed to the user as any other hidden folder. The XDG_DATA_HOME purpose is to store user data that were not explicitely saved by the user (like tomboy's notes, evolution's emails, word added to a spellchecker in a word processing software).

If Totem save automatically playlists, it should put them in XDG_DATA_HOME. But as soon as it asks the user where it should save them, $HOME is the right behaviour.

It's only my interpretation but I'm really convinced that users should never never never be exposed to hidden folders. It's an under the hood mechanism.
Comment 4 antistress 2008-03-15 16:06:23 UTC
To Lionel (comment #3) : i agree, see comment # 1

To Bastien (comment #2) : i didn't understand what you said (it seems that my english is not good enough)
"It's not to be used by users directly" seems to be in contradiction with the GUI "Save" button