mojira.dev
MC-313659

"Open Folder" button in screenshot preview does nothing

Description:
When clicking the "Open Folder" button in the screenshot preview interface, the system's File Explorer does not open. The game remains responsive, but the button is completely unresponsive. The screenshot itself is still successfully saved to disk.

Regression Details:

  • Working: 1.20.4, 26.1.1

  • Broken: 26.2, 26.3, 26.4 Pre-Release 2

  • This issue was introduced somewhere between version 26.1.1 and 26.2.

Steps to Reproduce:

  1. Launch the game.

  2. Enter a world.

  3. Press F2 to take a screenshot.

  4. In the screenshot preview interface, click the "Open Folder" button.

  5. Observe that no window opens.

Expected Behavior:
The system's File Explorer should open and display the .minecraft/screenshots directory.

Actual Behavior:
Clicking the button has no effect. No window opens.

Log Evidence:
Although the screenshot is saved successfully (chat shows: Saved screenshot as...), the game throws the following warning when clicking the button:
[Render thread/WARN]: Failed to open uri file:///C:/Users/[USERNAME]/AppData/Roaming/.minecraft/screenshots/[FILENAME].png: Couldn't open given URL.: The operation completed successfully.

(Note: The system API returned "The operation completed successfully" [Windows error code 0], but the game interpreted it as a failure, preventing the folder from opening.)

Additional Information:
This confirms the screenshot mechanism works, but the URI handler for opening the OS file explorer broke in 26.2.

Environment

Minecraft Versions: 26.4 Pre-Release 2 (Also tested on 26.1.1, 26.2, 26.3) Operating System: Windows 10 Mods: None (Vanilla)

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

Xiaolizi2000

(Unassigned)

Unconfirmed

26.4 Pre-Release 2

Retrieved