Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Folder For "Open Containing Folder" in PowerToy Run #9336

Closed
maroonedsia opened this issue Jan 27, 2021 · 1 comment
Closed

Wrong Folder For "Open Containing Folder" in PowerToy Run #9336

maroonedsia opened this issue Jan 27, 2021 · 1 comment
Labels
Issue-Bug Something isn't working Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@maroonedsia
Copy link

maroonedsia commented Jan 27, 2021

Issue:
In PowerToy Run, when you choose "Open Containing Folder" for a selected shortcut, the location of the shortcut file gets opened in the file explorer. Someone may argue that this is not a bug and it's intended, but I doubt knowing the location of the shortcut is user's intention. The user usually wants to know the location of actual file.

How to reproduce the issue:

  1. Go to "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" and pick an existing shortcut, e.g. "Google Chrome"
  2. Open PowerToy Run (Alt + Space) and type "Google Chrome". An item with this name should appear in the dropdown. Hit the "Open Container Folder" for it.

Actual Result:
File Explorer opens in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" folder.

Expected Result:
File Explorer opens the folder in which the original file, in this case chrome.exe, is located. e.g. "C:\Program Files (x86)\Google\Chrome\Application"

Potential Fix:
In the case the dropdown item in PowerToy Run is a shortcut ( a .lnk file), read the original file that the shortcut is pointing to and use that folder address for the "Open Containing Folder" option.

ℹ Computer information

  • PowerToys version: 0.29.3
  • PowerToy Utility: I don't know
  • Running PowerToys as Admin: Yes
  • Windows build number: Version 10.0.18362 Build 18362
@maroonedsia maroonedsia added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jan 27, 2021
@crutkas
Copy link
Member

crutkas commented Jan 28, 2021

Tracked in #3487

It actually does open the correct folder based on the shortcut we scanned but 100% agree it should do the behavior you describe.

@crutkas crutkas closed this as completed Jan 28, 2021
@crutkas crutkas added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants