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 555930 - Set default playlist path to last opened playlist
Set default playlist path to last opened playlist
Status: RESOLVED OBSOLETE
Product: totem
Classification: Core
Component: general
2.24.x
Other All
: Normal minor
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-10-11 17:46 UTC by Martin Olsson
Modified: 2014-01-23 12:19 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Martin Olsson 2008-10-11 17:46:22 UTC
repro steps:
1. create a small .PLS playlist with some songs
2. save the .PLS on the desktop
3. close totem
4. open the .PLS to listen to the songs
5. drag around them items in the right-hand-side list (to change song playback order)
6. press the bottom-right floppy disc icon to save

Actual behavior:
totem assumes I want to save the .PLS in my homedir (not on the desktop, from where I just loaded it)

Expected behavior:
totem should act like normal apps, when I press save it should just "save" it should not do "save as" and it should also not assume I want to save a new copy at a new location every time I want to save my playlist


Note: maybe you need some "Playlist" menu or maybe two buttons or whatever. Some smart UI guy can probably solve this while not confusing the user like today.

Other information:
Comment 1 Bastien Nocera 2008-10-21 13:15:48 UTC
The playlist isn't the object you're manipulating, you're manipulating videos. Contrast this to a word processor where you're actually manipulating the document, not the individual pages or words.

If you opened the playlist using one of the file choosers, it should re-use the same directory when you're about to save.

Let me know if it doesn't.
Comment 2 Tobias Mueller 2009-04-14 00:23:02 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 3 Remco 2010-03-15 18:38:47 UTC
I experience the same bug.

* When I open the PLS file from Nautilus, the Save Playlist button wants to save to a new file called "Playlist.pls" in the home directory.

* The same thing happens when I open a PLS file from Totem's file chooser. The Save button doesn't remember the file.

* And the same thing happens when I open a PLS file by dragging. The Save button doesn't remember the file.

But when I search for the playlist, then save over it, Totem does remember the file. After the first save, any subsequent saves will point to the file by default. Until I close Totem.
Comment 4 Remco 2010-03-18 01:54:57 UTC
How do I reopen this bug?
Comment 5 Bastien Nocera 2010-03-18 10:45:27 UTC
Totem does not do playlist handling. A playlist is just a list of files, opening and saving a playlist isn't like opening and saving a text file, and never will be in Totem.
Comment 6 Remco 2010-03-18 11:49:48 UTC
I'm not suggesting that it will be. A Save/Save As combination is not necessary.

The only thing I would like to see, is that the Save dialog has the original file selected by default. This already happens when you've saved the file once, but not when you've only opened the file. This is really annoying when you open a file to change a few things around, and then want to save it back. Then you have to find it again, instead of just confirming the location.
Comment 7 Bastien Nocera 2010-03-18 14:55:45 UTC
Reopening with a better summary.

The functionality should be clever enough to only try to remember the last playlist opened if it's of a type that totem-pl-parser knows how to save (this might need some totem-pl-parser changes), or offer to save the playlist with a different suffix/format.
Comment 8 Bastien Nocera 2014-01-23 12:19:20 UTC
The playlist widget is now removed from Totem's UI.