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

Cannot open OneDrive folders from PowerToys Run #3472

Closed
ZaninAndrea opened this issue May 21, 2020 · 4 comments
Closed

Cannot open OneDrive folders from PowerToys Run #3472

ZaninAndrea opened this issue May 21, 2020 · 4 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@ZaninAndrea
Copy link

In PowerToys Run, searching for a folder inside the OneDrive synchronized folder and the hitting enter does not open the directory.

Environment

Windows build number: 10.0.19624.1000
PowerToys version:  v0.18.0
PowerToy module for which you are reporting the bug (if applicable): Run

Steps to reproduce

Open the PowerToys Run search bar, type the name of a directory inside your OneDrive, hit enter.

Expected behavior

It should open the folder.

Actual behavior

Nothing is opened and the search bar closes.

Screenshots

screenshot

How to fix

I dug in the code a bit and I think this is the snippet of code that causes the bug: Microsoft.Plugin.Indexer/Main.cs, it defines the on enter action for results of a search using WindowsSearchAPI, but for some reason it does not work with OneDrive synchronized folders.

As an additional hint, as you can see from the screenshot the result does not have the folder icon, so I think that maybe the Process.Start command does not recognize the path as a valid folder either. As evidence for this I tried searching for a file with an unknown extension and opening it through PowerToys and nothing happens.

@htcfreek
Copy link
Collaborator

Look at the path. The folder "user" is missing in it. It's because you are not using an english windows language. This will be fixed in the upcoming release 0.18.1.
It's issue #3209.

@ZaninAndrea
Copy link
Author

Well that was easier than expected, looking forward to 0.18.1 then 👍

@crutkas
Copy link
Member

crutkas commented May 21, 2020

fix is master, waiting to see if we should hold for 1 bug or not.

marking this as dup

@crutkas crutkas closed this as completed May 21, 2020
@crutkas crutkas added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label May 21, 2020
@crutkas crutkas added this to the v1.0 Release milestone May 21, 2020
@crutkas
Copy link
Member

crutkas commented May 22, 2020

We just released 0.18.1 which will have this fix included in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

3 participants