microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
108.89k stars 6.42k forks source link

Network shares are being opened up in the browser rather than Explorer #28208

Open trajano opened 1 year ago

trajano commented 1 year ago

Microsoft PowerToys version

0.72.0

Installation method

Microsoft Store

Running as admin

No

Area(s) with issue?

PowerToys Run

Steps to reproduce

search for a share e.g. \\nas\Videos

✔️ Expected Behavior

\\nas\Videos open up in Explorer

❌ Actual Behavior

\\nas\Videos open up in Browser

Other Software

No response

davidegiacometti commented 1 year ago

What's the behavor if you type \\nas\Videos in the explorer bar? /needinfo

trajano commented 1 year ago

Stays in explorer and shows the Videos folder on the NAS share

davidegiacometti commented 1 year ago

Really strange. In order to avoid misunderstanding can you post a screenshot of the result of PT Run that opens the browser? Thank you!

/needinfo

trajano commented 1 year ago

image

trajano commented 1 year ago

I was expecting it to return me the folder like this

image

Or this

image

davidegiacometti commented 1 year ago

The result that opens the browser is provided by the URI Handler plugin. The result you are expecting from the Folder plugin should work only if you type a valid folder in your NAS.

image

It basically works but doesn't enumerates the network shares in your NAS:

trajano commented 1 year ago

Yeah you're right it only fails on \\nas but it is okay for \\nas\videos I just type \\nas out of habit so I didn't notice it. But still \\nas should work since it's \\ rather than //