sublime_text icon indicating copy to clipboard operation
sublime_text copied to clipboard

"Browse Packages" and "Open Containing Folder" open with wrong program on Windows

Open Jimbly opened this issue 3 years ago • 0 comments

Description of the bug

Selecting Browse Packages or Open Containing Folder always opens explorer.exe, regardless of OS configuration. This is likely caused by directly launching explorer.exe or using ShellExecute(), instead of SHOpenFolderAndSelectItems(), or equivalent API.

Steps to reproduce

Change what program handles folders, such as by installing Zabcat xplorer² in "Explorer replacement" mode. Execute Browse Packages in Sublime Text.

Expected behavior

Folder opens in appropriate program.

Actual behavior

Folder opens in Windows Explorer.

Sublime Text build number

4126

Operating system & version

Windows 10

Additional information

For reference:

Jimbly avatar Jun 20 '22 23:06 Jimbly