f3d icon indicating copy to clipboard operation
f3d copied to clipboard

Long filepath causes explorer.exe crash in the Windows thumbnailer

Open mwestphal opened this issue 1 year ago • 0 comments

Describe the bug Very long file path causes explorer.exe crash in the Windows thumbnails

To Reproduce Steps to reproduce the behavior:

  1. Create a file: C:\dev\f3d\src\testing\New folder\New folder\a filename with space, commands and parenthesis (1)a filename with space, commands and parenthesis (1)a filename with space, commands and parenthesis (1)a filename with space, commands and parenthesis (1)a filename .glb
  2. trigger thumbnailer on it
  3. explorer.exe crashes

Expected behavior No crash and thumbnail appears

System Information:

  • OS: Win11 (but Win10 should do the same)

F3D Information Paste the content of f3d --version: 2.5.0

Notes

C:\dev\f3d\src\testing\New folder\a filename with space, commands and parenthesis (1)a filename with space, commands and parenthesis (1)a filename with space, commands and parenthesis (1)a filename with space, commands and parenthesis (1)a filename .glb

Does not crash.

Open the file with F3D works but the filename is displayed incorrectly:

image

Additional context Add any other context about the problem here.

mwestphal avatar Aug 16 '24 08:08 mwestphal