[Xfce-bugs] [Bug 16467] Partially written files sometimes prematurely have thumbnails generated
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Wed Feb 26 23:18:26 CET 2020
https://bugzilla.xfce.org/show_bug.cgi?id=16467
--- Comment #5 from alexxcons <alexxcons at xfce.org> ---
I would start looking at the thumbnail request sent by thunar.
(thunar-thumbnailer.c/.h)
thunar_thumbnailer_queue_files is called in
thunar_standard_view_request_thumbnails_real ... possibly some check is
required to make sure that the file is "complete".
Not sure how a "is complete" check can be done. Possibly there is a md5
checksum or something similar.
You may want to check if there is some promising method in Thuna-file.h ..
possibly "thunar_file_get_info" ?
Or possibly the realted gfile has that information:
https://developer.gnome.org/gio/stable/GFile.html
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list