Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

PowerToys Run: launch fail #12418

Closed
1 task done
wantaekchoi opened this issue Jul 19, 2021 · 3 comments
Closed
1 task done

PowerToys Run: launch fail #12418

wantaekchoi opened this issue Jul 19, 2021 · 3 comments
Labels
Issue-Bug Something isn't working Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Already Fixed/Doesn't Apply A change in the product has made the issue obsolete.

Comments

@wantaekchoi
Copy link

wantaekchoi commented Jul 19, 2021

Microsoft PowerToys version

0.41.3

Running as admin

  • Yes

Area(s) with issue?

PowerToys Run

Steps to reproduce

2021-07-19.txt

✔️ Expected Behavior

run chrome

❌ Actual Behavior

Crash and pop-up PowerToys bug report window

Other Software

No response

@wantaekchoi wantaekchoi added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jul 19, 2021
@franky920920
Copy link
Contributor

According to line 278-305 in the attached file (pasted below), this is a duplicate of #11898

System.InvalidCastException: Unable to cast object of type 'System.Windows.Documents.Run' to type 'System.Windows.FrameworkElement'.
   Source: PowerLauncher
   TargetAssembly: PowerLauncher, Version=0.41.3.0, Culture=neutral, PublicKeyToken=null
   TargetModule: PowerLauncher.dll
   TargetSite: Void SuggestionsList_PreviewMouseLeftButtonUp(System.Object, System.Windows.Input.MouseButtonEventArgs)
   at PowerLauncher.MainWindow.SuggestionsList_PreviewMouseLeftButtonUp(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnPreviewMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   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.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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)

@franky920920
Copy link
Contributor

Duplicate of #11898

@franky920920
Copy link
Contributor

This was fixed with the release of v0.41.4.

Please update to the latest version of PowerToys and this issue should be resolved.

@mykhailopylyp mykhailopylyp added Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Already Fixed/Doesn't Apply A change in the product has made the issue obsolete. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jul 19, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Issue-Bug Something isn't working Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Already Fixed/Doesn't Apply A change in the product has made the issue obsolete.
Projects
None yet
Development

No branches or pull requests

3 participants