-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Can't use browser search (Plugin Web Search) #36083
Comments
Hi @mudnug, any change to do some tests? 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 Can you also try to run This would help determine if there is something wrong with the code used to find the systems default browser. /needinfo |
BrowseRouterURL |
"Search the web" fails with the messagebox and "Open in default browser" works (for URLs). |
@davidegiacometti Would PowerToys be confused when the path to the browser has a space or unicode character?
The error in the log shows it is truncating the process foldername and using the wrong directory |
Hi @mudnug |
Good question. I modified the path when I showed you the powershell results to hide some path info. It is closer to Z:\3 BrowseRouter\BrowseRouter.exe %1 There is a space after 3 |
Yeah, the space can certainly be an issue. I think the string should be escaped by |
I just tried manually editing the (default) registry key at and then "Z:\BrowseRouter\BrowseRouter.exe" %1 and then "Z:\BrowseRouter\BrowseRouter.exe" "%1" |
Part of this was fixed in nref/BrowseRouter#63 (which now uses the correct registry value). Still can't execute searches, but that might not be a PowerToy issue? (I'm not sure how it's calling the browser to execute the search.) |
Description of the new feature / enhancement
Allow customizing how browser exe is called
Scenario when this would be used?
When search fails
Supporting information
Plugins based on the web search feature also fail: Daydreamer-riri/PowerToys-Run-WebSearchShortcut#29
The text was updated successfully, but these errors were encountered: