[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 17:07:29 CET 2020
https://bugzilla.xfce.org/show_bug.cgi?id=16467
--- Comment #4 from ykui <yumekuineru at hotmail.com> ---
Perhaps I could try, though I do not have high hopes.
My main idea is to check the last modified date and delay (timeout? idle?)
files that were modified less than a second ago.
This would maybe affect large files like videos though (would it be a problem
to not have thumbnails for those until they are completed/have gone a short
time without being written to?)
Perhaps requiring that if a file is not in the cache (already has a thumbnail
(?)) that it must wait a second or so, in case the problem is that the partial
file completes writing before the thumbnail is generated, so that a new
thumbnail is never requested.
The less internals that would have to be touched the better though, dbus does
not seem like a healthy past-time.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list