Skip to content

v0.9.44 β€” πŸ“‚ Open folder opens the real folder again (Windows)

Choose a tag to compare

@github-actions github-actions released this 17 Jul 12:37
· 61 commits to main since this release

πŸ“‚ "Open folder" opens the real folder again (Windows)

The πŸ“‚ button under a media file in chat was opening Documents instead of
the folder the file actually lives in.

It hit any path containing a space β€” which is most real media: uploads/, an
image dropped in from somewhere else, a Thai filename, anything ChatGPT generated
(ChatGPT Image Jul 1, 2026, 08_10_04 PM.png). Paths without a space worked
fine, which is exactly why this hid in plain sight for so long.

Root cause

explorer.exe doesn't parse its command line by CRT rules. It wants the switch
bare and the path quoted:

explorer.exe /select,"C:\dir\file.ext"

We passed "/select,<path>" as a single argv token, so Node quoted the
whole token the moment the path held a space:

explorer.exe "/select,C:\dir\my file.png"     ← explorer never sees /select

Explorer then silently falls back to its default folder β€” Documents. The line
now hands the command line over verbatim, so the quotes land around the path only.

Verified

End-to-end against the shipped line itself (extracted from server.js and
executed), reading back the opened folder and selected item through the Shell COM
API, on three real paths:

Path Result
ChatGPT Image Jul 1, 2026, 08_10_04 PM.png (spaces + commas) βœ… selected
ΰΈ—ΰΈ΅ΰΈ‘ΰΈ‡ΰΈ²ΰΈ™ AI ΰΉƒΰΈ™ΰΉ‚ΰΈ₯กอนาคต.png (Thai + spaces) βœ… selected
1.png (no spaces β€” regression check) βœ… still works

Scope

Windows /reveal only. The Projects πŸ“‚ button and open-in-default-app
(β€’) use different, already-correct forms; macOS (open -R) and Linux
(xdg-open) were never affected. No shell/binary change β€” but the binaries are
attached as usual.


Update: the πŸ”„ banner in your office, or bagidea update.

Known issue (unchanged): the macOS wallpaper can still hang on the Godot boot
splash β€” see the note in v0.9.42. Still tracking; a Mac-side boot log is what's
needed to land the fix.