Ref #761: Severe stall/hang at start-up
authorColin Clark <[email protected]>
Fri, 4 Sep 2020 11:45:21 +0000 (12:45 +0100)
committerColin Clark <[email protected]>
Fri, 4 Sep 2020 11:45:21 +0000 (12:45 +0100)
https://github.com/BestImageViewer/geeqie/issues/761

When file marks have been saved, on next start the entire folder of each
marked file is reffed, causing a slow startup.
Wrong filedata function used.

src/filedata.c

index ca86d75ebb6e500e701509253a51b2383f0ea9a9..213002c9a99c379e131d331dd328f35e271a783d 100644 (file)
@@ -3359,7 +3359,7 @@ gboolean marks_list_load(const gchar *path)
                        marks_value = strtok(NULL, ",");
                        if (isfile(file_path))
                                {
-                               FileData *fd = file_data_new_group(file_path);
+                               FileData *fd = file_data_new_no_grouping(file_path);
                                file_data_ref(fd);
                                gint n = 0;
                                while (n <= 9)