Thunar becomes extremely slow/unresponsive when working in directories with many images
Platforms tested: Thunar 4.16 and 4.18 in Xubuntu and Fedora. Didn't notice a major difference in behavior between versions.
Steps to reproduce: Best way to recreate this scenario is take a video and dump the frames into a new folder ffmpeg -i video.mkv newdir/%d.png
, then open the folder in Thunar and change the view to icons. I aim for around 10k images in testing. Average size of image or if they have already been thumbnailed or not does not seem to matter.
Expected behavior: Changing the view, icon size, etc is responsive as normal.
Observed behavior: Changing the view or changing the icon size results in Thunar chewing up a single CPU thread and not responding for dozens of seconds. I have not observed disk use during the unresponsiveness nor has faster or slower disks made a difference.
Less of an issue now that Thunar can remember views per folder (Thank you!) but still very annoying. Unsure what else to troubleshoot to narrow down the exact cause.