Skip to content

ImageGlass selects wrong file in the gallery when launched with a 8.3 short path #2222

@ISI-360

Description

@ISI-360

Windows OS version

Windows 11 24H2

ImageGlass version

9.3.2.520

ImageGlass release

Classic

1️⃣ Steps to reproduce

Try to open an image file in a folder with multiple files (jpeg) via command line.
If the path to the image file is a full path, everything is ok.

If the path is a 8.3 short path ImageGlass "selects" the wrong image in the gallery (but displays the correct image in the main window). This is also a problem, when you for example want to print the image, it prints the wrong one. (The wrong selected in the gallery...not the image from the main window)

2️⃣ Actual behavior

Working:
C:\Program Files\ImageGlass\ImageGlass.exe "C:\Users\Test\Temp Test\img10 jslkdjsa djsakl4.jpg"

Not working:
C:\Program Files\ImageGlass\ImageGlass.exe "C:\Users\Test\TEMPTE1\IMG10J1.JPG"
-> Please see screenshot for the correct path. GitHub displays this path wrong.

3️⃣ Expected behavior

There should be no difference when open a file with a full path or a 8.3 short path in ImageGlass.

4️⃣ Screenshots / Video / Sample image file

Open file with full path (working ok):

Image

Open file with 8.3 short path (not ok):

Image

5️⃣ Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions