Skip to content

Fix criticals in g_file_info_get_name with trashed files

Per the enumerate_children docs, G_FILE_ATTRIBUTE_STANDARD_NAME attributes must be gathered to avoid criticals like this when iterating over the files:

GFileInfo created without standard::name
file ../gio/gfileinfo.c: line 1713 (g_file_info_get_name): should not be reached

Related bug reports:

Docs:

Edited by correctmost

Merge request reports

Loading