Page 1 of 1

BUG: Thumbnail Preview not showing when File Path too long + weird graphics

Posted: 19 Sep 2024 10:59
by XY-Newbie
I have encountered this issue while trying to figure out why some of my PDF's would not show any thumbnail. After hours of reading through countless forum threads and trying pretty much anything I could find, I found out that the problem was created by overly long file names, or paths to be precise.

The file names in this particular folder had to be under 197 characters.

When I opened my subfolders, I noticed that 197 characters wouldn't cut it. Suddenly I had to shorten my file names to 155 characters. When I opened another folder on the same level but with a much longer folder name, I now had to shorten the file name to 120 characters (and refresh the file/folder) for a thumbnail to show up, and so on.

The longer the folder name or the deeper/longer the path, the shorter the file name had to be in order for a thumbnail to show up, instead of just the generic pdf-icon.

The max. path needed in order for Thumbnails to show up seems to be 259 characters, including the ".pdf" at the end.


In combination with this problem I found another bug, where thumbnails of other files in the same folder would just completely bug out and look completely broken like some weird mix-up of the original thumbnail and a broken TV, after shortening the file name to where it would display a thumbnail and refreshing the file with alt+f5. Sometimes this bug would persist and even "spread" on the rest of the thumbnails in that particular folder, when refreshing the folder thumbnails (ctrl+alt+F5). The solution to this was to either re-enter the folder (sometimes I had to completely exit xyplorer) or to ctrl+A all files in the folder and press alt+f5 (ctrl+alt+f5 would sometimes just make the thumbnails go completely invisble, not even pdf-icons to be seen).

Regards

Re: BUG: Thumbnail Preview not showing when File Path too long + weird graphics

Posted: 19 Sep 2024 11:20
by admin
Yes, the 259 character limit is imposed by the Windows shell. Any thumbnails that XY cannot generate natively will be passed to the shell (and its limitations).