Skip to content

IDM_EDIT_OPENINFOLDER still uses ShellExecute (creates zombie explorer.exe processes) #17941

@wuguo13842

Description

@wuguo13842

Description

The context menu command "Open containing folder" (IDM_EDIT_OPENINFOLDER) currently uses ShellExecute to launch explorer.exe /select. This creates a new explorer.exe process each time, which remains in Task Manager even after closing the folder window.

Expected behavior

It should reuse an existing Explorer window (like the main menu command "File -> Open containing folder", which was fixed in PR #17265).

Actual behavior

A new explorer.exe process is spawned each time and lingers.

Steps to reproduce

  1. Open any file in Notepad++.
  2. Right-click on a file path in the editor and choose "Open containing folder".
  3. Close the opened folder.
  4. Check Task Manager – an extra explorer.exe process remains.

Additional context

I have a fix ready and would like to be assigned to this issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions