microsoft / PowerToys

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

Search the web using PowerToys Run results in open file explorer #21400

Open YiqunChen1999 opened 1 year ago

YiqunChen1999 commented 1 year ago

Microsoft PowerToys version

0.63.0

Installation method

GitHub

Running as admin

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

taras-janea commented 1 year ago

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

/needinfo

YiqunChen1999 commented 1 year ago

Thanks for your reply. @taras-janea

I have uploaded a video here. Hope it helps.

Should I provide more info?

taras-janea commented 1 year ago

Yes. Thanks!

davidegiacometti commented 1 month ago

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)

bitons commented 1 month ago

对于那些仍然遇到问题的人,您能否打开一个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
davidegiacometti commented 1 month ago

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

opaque111 commented 6 hours ago

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