https://bugzilla.xfce.org/show_bug.cgi?id=14576

--- Comment #69 from HYPERION <[email protected]> ---
@All

Seems that I found the reason for persistant thumbs, and a workaround :)

The reason : each thumb file in the cache is named after the md5 hash of the
URI of the thumbed object (here : the folder). folder change signal is handled
correctly by Thunar and Tumbler on deletion of the folder.jpg (thumbed file),
but the thumb is not refreshed because the thumbed file is note the same as the
thumbed object.

The workaround : 

"/usr/bin/folder-thumbnailer" as follow :

 #!/bin/bash

convert -thumbnail "$1" "$2/folder.jpg" "$3" ||\
convert -thumbnail "$1" "$2/.folder.jpg" "$3" ||\
convert -thumbnail "$1" "$2/folder.png" "$3" ||\
convert -thumbnail "$1" "$2/cover.jpg" "$3" ||\
convert -thumbnail "$1" "/usr/share/icons/$(xfconf-query -c xsettings -p
/Net/ThemeName)/128x128/places/folder.png" "$3" ||\
exit 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to