thunar asks for the same thumbnails twice (and warns about them not being present)
When asking thumbnails thunar ask for them twice even before getting an answer (but after getting the Started signal). Also on a debug build says
(thunar:6356): thunar-WARNING **: 09:22:18.851: Error: Thumbnailing for 'DO_Monsters_C147.aseprite' signaled ready, but no thumbnail was generated
This seems to indicate a race condition between thunar and tumbler (or maybe thunar checks for the file too soon?). In the meantime I'll try playing with tumbler.
At the end however the thumbnail gets generated (most of the time!) but with heavy custom thumbnailers the CPU load is high. For some reason sometimes a thumbnail is not show (even if it's generated) and F5 fixes it, but I think that's a known issue.
Thunar is as 8655194c (yesterday)
Tested as follow: thunar window idle, scrolled down one row to a new fresh line of files; using dbus-monitor I got this trace:
method call time=1703406138.597764 sender=:1.574 -> destination=:1.615 serial=17535 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1; member=Queue array [ string "file:///home/lomarcan/cvswork/Pittogrammi/Tiles/Dungeon%20Odissey/DO_Monsters_C143.aseprite" string "file:///home/lomarcan/cvswork/Pittogrammi/Tiles/Dungeon%20Odissey/DO_Monsters_C144.aseprite" string "file:///home/lomarcan/cvswork/Pittogrammi/Tiles/Dungeon%20Odissey/DO_Monsters_C145.aseprite" string "file:///home/lomarcan/cvswork/Pittogrammi/Tiles/Dungeon%20Odissey/DO_Monsters_C146.aseprite" string "file:///home/lomarcan/cvswork/Pittogrammi/Tiles/Dungeon%20Odissey/DO_Monsters_C147.aseprite" ] array [ string "image/x-aseprite" string "image/x-aseprite" string "image/x-aseprite" string "image/x-aseprite" string "image/x-aseprite" ] string "xx-large" string "background" uint32 0 method return time=1703406138.599201 sender=:1.615 -> destination=:1.574 serial=5114 reply_serial=17535 uint32 256 signal time=1703406138.599251 sender=:1.615 -> destination=:1.574 serial=5115 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1;member=Started uint32 256 method call time=1703406138.607160 sender=:1.574 -> destination=:1.615 serial=17536 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1;member=Queue array [ string "file:///home/lomarcan/cvswork/Pittogrammi/Tiles/Dungeon%20Odissey/DO_Monsters_C143.aseprite" string "file:///home/lomarcan/cvswork/Pittogrammi/Tiles/Dungeon%20Odissey/DO_Monsters_C144.aseprite" string "file:///home/lomarcan/cvswork/Pittogrammi/Tiles/Dungeon%20Odissey/DO_Monsters_C145.aseprite" string "file:///home/lomarcan/cvswork/Pittogrammi/Tiles/Dungeon%20Odissey/DO_Monsters_C146.aseprite" string "file:///home/lomarcan/cvswork/Pittogrammi/Tiles/Dungeon%20Odissey/DO_Monsters_C147.aseprite" ] ] array [ string "image/x-aseprite" string "image/x-aseprite" string "image/x-aseprite" string "image/x-aseprite" string "image/x-aseprite" ] string "normal" string "background" uint32 0 method return time=1703406138.608455 sender=:1.615 -> destination=:1.574 serial=5116 reply_serial=17536 uint32 257 signal time=1703406138.608530 sender=:1.615 -> destination=:1.574 serial=5117 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1; member=Started uint32 257
... skipping uninteresting vfs stuff...
signal time=1703406138.666207 sender=:1.615 -> destination=:1.574 serial=5120 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1; member=Ready uint32 256 array [ string "file:///home/lomarcan/cvswork/Pittogrammi/Tiles/Dungeon%20Odissey/ DO_Monsters_C143.aseprite" ] signal time=1703406138.666382 sender=:1.615 -> destination=:1.574 serial=5121 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1; member=Ready uint32 257 array [ string "file:///home/lomarcan/cvswork/Pittogrammi/Tiles/Dungeon%20Odissey/ DO_Monsters_C143.aseprite" ]
... you get the idea ...