Ref #761: Severe stall/hang at start-up
authorColin Clark <colin.clark@cclark.uk>
Fri, 4 Sep 2020 11:45:21 +0000 (12:45 +0100)
committerColin Clark <colin.clark@cclark.uk>
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 ca86d75..213002c 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)