godotengine / godotengine/godot

OS.shell_show_in_file_manager and editor "open in file manager" bug.

Open
#112,429 4 comments 0 reactions 0 assignees View on GitHub
bug needs testing platform:windows topic:platforms
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

Godot 4.6 dev

### System information

Windows 11 - Godot Engine v4.6.dev.custom_build - https://godotengine.org OpenGL API 3.3.0 NVIDIA 581.80 - Compatibility - Using Device: NVIDIA - NVIDIA RTX A5000 Laptop GPU

### Issue description

When requesting the OS to open the file manager, the operating system starts a new Windows explorer process. When the Windows explorer is closed the process remains.

### Steps to reproduce

Right click folder on Godot and chooses "Open in File Manager.

from code - OS.shell_show_in_file_manager(destination_file_path, true) -

https://github.com/user-attachments/assets/5604fd2a-7452-457c-8c9d-9b1e7667ad0d

Image

### Minimal reproduction project (MRP)

N/A

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue on Windows through the editor's "Open in File Manager" action and OS.shell_show_in_file_manager(destination_file_path, true). Trace the implementation of that entry point and observe the Explorer process after its window closes; done means the process no longer remains unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.