Comment 5 for bug 1056261

Revision history for this message
Mitsuya Shibata (cosmos-door) wrote :

Reproduced it.

Reason:
If current-folder is ''(emty string, not NULL), will call g_file_new_for_uri('') in src/dlg-add.c
and its return vallue(GFile object) is passed to first argument of g_directory_foreach_child(directory, ...).
In the result, will occure "Could not load the location" error.

Workaround:
1. Close "Could not load the location" dialogue.
2. Select any folder in file selection dialogue.
3. No error message any more.

Solution:
Plan A) Change default schema from '' to any other valid path for current-folder in data/org.gnome.FileRoller.gschema.xml.in.

Plan B) If base_dir is '' in dlg_add_folder_load_last_options(), set any other valid path.

Please file this bug to upstream.