-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Web Search crash with Firefox #19260
Comments
/bugreport |
another minor related issue. If I change the default browser in the windows setting, say from Chrome to Firefox. The web search plugin doesn't recognize this change right away. It will still use Chrome as default. I need to close and reopen PowerToys to make the change take effect. |
This is ... interesting?
|
Hi @xiwang66 Could you please check your registry for what's in "ProgId" in "Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice"? In my case it's ChromeHTML, for example. Then, can you please check "Computer\HKEY_CLASSES_ROOT{progId}\shell\open\command" and send what's there ,as well? Something seems to not be playing well with our code to recognize the default browser and how to call it. Please send us these values for when you have Firefox, Chrome, and Edge. /needinfo |
@jaimecbernardo pic attached. Something is wrong with the ProgId it seems... Firefox has one version in the Windows store, the other exe installer. The pic for Windows store version "Computer\HKEY_CLASSES_ROOT{progId}\shell\open\command" is attached. With this setting, powertoys crash ..... Then I uninstall it and install the exe version for testing. This time everything works fine. So it is only the Windows store Firefox has this issue. |
I don't think it's ProgId. I think it's the command (Default). Notice how Chrome has |
/needinfo |
@jaimecbernardo C:\Program Files\WindowsApps\Mozilla.Firefox_102.0.1.0_x64__n80bbvh6b1yt2\VFS\ProgramFiles\Firefox Package Root\firefox.exe -osint -url "%1" "C:\Program Files\Google\Chrome\Application\chrome.exe" --single-argument %1 |
The lack of quotes in the command around the firefox executable path makes the problem show up. |
Microsoft PowerToys version
0.60.0
Running as admin
Area(s) with issue?
PowerToys Run
Steps to reproduce
✔️ Expected Behavior
Firefox open and search the keyword
❌ Actual Behavior
An error message shows up that "Failed to open Firefox"
This function works well with Chrome or Edge
Other Software
No response
The text was updated successfully, but these errors were encountered: