-
Notifications
You must be signed in to change notification settings - Fork 9
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
Issue with PowerToys-Run-WebSearchShortcut #23
Comments
@DinMon Thanks! Solved my problem. |
Thank you for reporting this issue. I will look into it, and in the meantime, I should note this in the documentation. |
No worries. I also forget to mention that for the official Web Search of PowerToys a 'Direct activation command' needs to be set up and probably should not conflict with the one of PowerToys Run WebSearchShortcut. |
On my computer I can disable web search and use the web search shortcut just fine. I'll try to find a computer that can reproduce the issue. |
Replication Steps for PowerToys Run WebSearchShortcut IssueTo replicate the issue where the PowerToys Run WebSearchShortcut crashes when the official Web Search is enabled, follow these steps: Step 1: Disable Web Search
Step 2: Close PowerToys CompletelyYou can choose one of the following methods: Option A: Kill the Process Using Task Manager
Option B: Restart Your Computer
Step 3: Test the WebSearchShortcut
|
Sorry closing it was a mistake. |
2024-07-23.txt |
PowerToys-Run-WebSearchShortcut seems to be an extension of the official Web Search of PowerToys. Therefore, if you to do have Web Search on, WebSearchShortcut will crash with the below stack trace.
Version: 0.82.1.0
OS Version: Microsoft Windows NT 10.0.22621.0
IntPtr Length: 8
x64: True
Date: 22/07/2024 1:51:07 PM
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, ShellRunAsType runAs, Boolean runWithHiddenWindow)
at Wox.Infrastructure.Helper.OpenCommandInShell(String path, String pattern, String arguments, String workingDir, ShellRunAsType runAs, Boolean runWithHiddenWindow)
at Community.PowerToys.Run.Plugin.WebSearchShortcut.Main.OpenInBrowser(String url)
at Community.PowerToys.Run.Plugin.WebSearchShortcut.Main.<>c__DisplayClass43_0.b__0(ActionContext _)
at PowerLauncher.ViewModel.MainViewModel.<>c__DisplayClass31_0.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.b__32_10(Object index)
at PowerLauncher.ViewModel.RelayCommand.Execute(Object parameter)
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.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
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)
To resolve the issue make sure official PowerToys Web Search is enabled.
The text was updated successfully, but these errors were encountered: