GNOME Bugzilla – Bug 443027
Wrong library folder sometimes selected
Last modified: 2007-07-10 18:01:01 UTC
Sometimes (apparently a race condition), the wrong folder gets selected as the library folder in the Preferences dialog. In my case, instead of /home/user/Music, /home/user was selected.
Created attachment 89206 [details] [review] Patch This patch solves this bug by using SetCurrentFolder instead of SetFilename on the FileChooserButton control. I guess this is due to the fact that the FileChooserButton loads its list of files asynchronously, and our SetFilename didn't always make it on time for the file list to be loaded. (Yes, this appears to be a bug in Gtk+ but using SetCurrentFolder helps us avoid it anyway.)
Committed, thanks!