Description of problem:
The file chooser (Edit->Preferences->Podcasts, Download location) always
displays the current directory (the home directory if launched from the
application menu; otherwise, the current directory on the shell), rather than
the actual directory set in the gconf key.
This is because the file chooser was accessed using
gtk_file_chooser_set_current_folder_uri, but given a file path instead. The
boolean return value is never checked and thus the error escapes unnoticed.
Using gtk_file_chooser_set_current_folder rather than the _uri variant fixes
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Navigate to the Podcasts tab as described above
2. Note the download location listed in file chooser
3. Repeat, this time launching Rhythmbox from a different directory
File chooser shows the current working directory
File chooser shows the podcast download directory
Created attachment 308288 [details]
Patches sources/rb-podcast-source.c to set file chooser correctly
You could also just have mentioned the upstream report.
True, that was a bit of an overkill.
Updated patch available upstream; on IRC the developer has vetted the new patch,
but unfortunately did not acknowledge it in bugzilla.
Updated patch linked:
Bastien, could you nag the upstream developers, or perhaps just apply the patch?
Upstream wants the podcast directory to be stored as a URI, the patch does that
(right now, and in Rawhide's 0.11.6, the directory is stored as a path but read
as a URI, which fails).
There's the small problem that existing Rhythmbox podcast users will have to
manually change their podcast directory once, but that's probably better than
adding a check in the code that automatically converts paths to URIs.
Being worked on upstream.
Was fixed upstream, and should be in our latest versions on F10 and rawhide.