Comment 2 for bug 921515

Revision history for this message
Michael Schwendt (mschwendt) wrote :

I've tried to reproduce with

  $ gconftool-2 --unset /apps/SoundConverter/last-used-folder
  $ soundconverter

but that is not enough here either.

However, when I booted Fedora 17 development (Rawhide) this morning, I could reproduce the traceback with 2.0-rc5 immediately without setting up a special test-case. The symptoms were that the "Add File" filechooser did not display any folders in current working directory. Its right pane was empty. "Recently Used" was highlighted by default, with no GConf value for the last-used-folder. Hence simply clicking "Open" to leave the dialog lead to the traceback. last-used-folder was "None".

Further research lead to this test-case:

  $ rm ~/.local/share/recently-used.xbel
  $ gconftool-2 --unset /apps/SoundConverter/last-used-folder
  $ soundconverter
[click "Add File", then "Open"]

So, if last-used-folder is undefined *and* the recently-used.xbel file is empty/missing, the filechooser starts empty. If one sets last-used-folder manually just for testing, the filechooser starts in that directory.

The fix works, of course.