Bug 449839 - Podcast download location file chooser never set to correct directory
Podcast download location file chooser never set to correct directory
Product: Fedora
Classification: Fedora
Component: rhythmbox (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Bastien Nocera
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-06-03 16:41 EDT by Michel Alexandre Salim
Modified: 2009-03-24 09:39 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-03-24 09:39:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patches sources/rb-podcast-source.c to set file chooser correctly (582 bytes, patch)
2008-06-03 16:41 EDT, Michel Alexandre Salim
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
GNOME Desktop 536500 None None None Never

  None (edit)
Description Michel Alexandre Salim 2008-06-03 16:41:31 EDT
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):

How reproducible:

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
Actual results:
File chooser shows the current working directory

Expected results:
File chooser shows the podcast download directory

Additional info:
Comment 1 Michel Alexandre Salim 2008-06-03 16:41:31 EDT
Created attachment 308288 [details]
Patches sources/rb-podcast-source.c to set file chooser correctly
Comment 2 Bastien Nocera 2008-06-04 08:08:31 EDT
You could also just have mentioned the upstream report.
Comment 3 Michel Alexandre Salim 2008-06-04 13:52:21 EDT
True, that was a bit of an overkill.
Comment 4 Michel Alexandre Salim 2008-07-15 15:56:21 EDT
Updated patch available upstream; on IRC the developer has vetted the new patch,
but unfortunately did not acknowledge it in bugzilla.
Comment 5 Michel Alexandre Salim 2008-08-01 12:28:44 EDT
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.
Comment 6 Bastien Nocera 2008-08-08 10:33:27 EDT
Being worked on upstream.
Comment 7 Bastien Nocera 2009-03-24 09:39:00 EDT
Was fixed upstream, and should be in our latest versions on F10 and rawhide.

Note You need to log in before you can comment on or make changes to this bug.