PowerToys: Crashing: Uri/Web search plugin can't find default browser
Microsoft PowerToys version
0.53.1.0
Running as admin
- Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
I installed PowerToys while having Chrome set as default browser. After that I deleted Chrome and set Edge as default. Now an error occurs when I try to use web search from Run tool. For example

pressing enter

Version: 0.53.1.0
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Date: Вс 09.01.22 22:53:00
Exception:
System.InvalidOperationException: Cannot start process because a file name has not been provided.
at System.Diagnostics.Process.Start()
at Wox.Infrastructure.Helper.OpenInShell(String path, String arguments, String workingDir, Boolean runAsAdmin)
at Community.PowerToys.Run.Plugin.WebSearch.Main.<>c__DisplayClass19_2.<Query>b__3(ActionContext action)
at PowerLauncher.ViewModel.MainViewModel.<>c__DisplayClass27_0.<OpenResultsEvent>b__0()
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback)
at PowerLauncher.ViewModel.MainViewModel.OpenResultsEvent(Object index, Boolean isMouseClick)
at PowerLauncher.ViewModel.MainViewModel.<InitializeKeyCommands>b__28_10(Object index)
at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
✔️ Expected Behavior
Opening Edge and searching my query as if I just typed it in search box in Edge
❌ Actual Behavior
ЕГГОГ

Other Software
Edge 97.0.1072.55
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 42 (24 by maintainers)
Tracking in /dup https://github.com/microsoft/PowerToys/issues/15384