PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Search the web using PowerToys Run results in open file explorer

Open YiqunChen1999 opened this issue 3 years ago • 7 comments

Microsoft PowerToys version

0.63.0

Installation method

GitHub

Running as admin

  • [ ] Yes

Area(s) with issue?

PowerToys Run

Steps to reproduce

  1. Install the PowerToys from GitHub;
  2. Enable the PowerToys Run;
  3. Press alt+space to search something and select search the web in Microsoft edge;
  4. Edge doesn't response but file explorer opened;

✔️ Expected Behavior

Expect the Microsoft Edge opens a new tab and shows the search results using default search engine.

❌ Actual Behavior

Microsoft Edge doesn't response but File Explorer opened.

Other Software

Windows 11 with version 22000.1098

YiqunChen1999 avatar Oct 22 '22 14:10 YiqunChen1999

Thank you for the report. @YiqunChen1999, could you please attach the video of the screen, so we understand how it happens?

/needinfo

taras-janea avatar Oct 24 '22 13:10 taras-janea

Thanks for your reply. @taras-janea

I have uploaded a video here. Hope it helps.

Should I provide more info?

YiqunChen1999 avatar Oct 24 '22 14:10 YiqunChen1999

Yes. Thanks!

taras-janea avatar Oct 24 '22 14:10 taras-janea

For those who are still experiencing the issue, can you please open a PowerShell, run this and paste the output here?

$progId = $(Get-ItemProperty -Path Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice -Name ProgId).ProgId
$command = $(Get-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\$progId\shell\open\command).'(default)'
Write-Host $progId
Write-Host $command

This will query the content of the registry keys used by the PowerToys plugin to determine the browser.

CC @1024MrL @xiaoxiaobaiai @zaki233 @scholar7r (closed duplicate issues)

davidegiacometti avatar Jul 12 '24 13:07 davidegiacometti

对于那些仍然遇到问题的人,您能否打开一个PowerShell,运行它并将输出粘贴到这里?

$progId = $(Get-ItemProperty -Path Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice -Name ProgId).ProgId
$command = $(Get-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\$progId\shell\open\command).'(default)'
Write-Host $progId
Write-Host $command

这将查询 PowerToys 插件用于确定浏览器的注册表键的内容。

CC (已关闭的重复问题)

PS C:\Users\lenovo> Write-Host $progId MSEdgeHTM彤浳⩢†䰢䠷㹁⩡耀Microsoft Edge⩲䠲㹊⭯蠀汗湡硅慰獮潩佮摲牥畑牥y敬潮潶挮䠹㹷Ɱ蠀msedgehtm⩢䠤㹰ⵟ蠀汗湡硅慰獮潩卮慴畴s䉄湉楳敤桗瑩䠣㹽⹳耀㩃坜湩潤獷獜獹整㍭尲獲敡桮搮汬䠮㹦⽤蠀slbrowserh PS C:\Users\lenovo> Write-Host $command Microsoft Edge HTML Document image

bitons avatar Aug 01 '24 11:08 bitons

@bitons Can you also try to run Start-Process "https://github.com" in a PowerShell window? Does github.com open in an Edge window?

davidegiacometti avatar Aug 01 '24 20:08 davidegiacometti

Thanks to the contributors. After updating PowerToys from 0.83.0 to 0.84.0, this problem was solved on my computer.

opaque111 avatar Sep 06 '24 08:09 opaque111