files-community / files-community/Files

Bug: Explorer Properties window cannot be closed after clicking "open file location"

Open
#15,444 2 comments 0 reactions 0 assignees View on GitHub
area - default file manager
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 7m
Merged PRs (30d)
62

Description

### Description

Opening the File Location of an app by right clicking it from the taskbar would not let me close the app's properties window (explorer.exe) by clicking any buttons, not even if I use [SuperF4](https://github.com/stefansundin/superf4).

It would only close when I close Files, and there's a delay as well.

### Steps To Reproduce

1. Set Files as default
2. Right click app icon from taskbar (eg. Visual Studio Code)
3. Right click app name from the list and select Properties
4. Choose `Open File Location`
5. Files will open
6. Try to close the Properties window
7. The window doesn't close (it might close after a couple seconds)

### Screenshots
![explorer_d1pAtU2Dzf](https://github.com/files-community/Files/assets/50130192/64f2466f-ab57-4494-981b-2a6419562f02)
![uOyq1n1jmY](https://github.com/files-community/Files/assets/50130192/523fd8da-f010-42a2-899a-38a2d5da475f)

### Requirements

- Fix explorer.exe Properties window cannot be closed when user clicks `Open File Location`

### Files Version

3.4.1.0

### Windows Version

10.0.19045.4412

### Log File

[debug.log](https://github.com/files-community/Files/files/15397823/debug.log)

Contributor guide

Open the contributing guide

Research direction

Reproduce the taskbar Properties and Open File Location sequence with Files set as default, then inspect the attached debug.log for the explorer.exe interaction. The fix is complete when the Properties window closes normally without needing to close Files or wait for a delay.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.