microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.64k stars 6.57k forks source link

PowerToys run shortcut shouldn't be no reaction when one of plugin have some problem or can't be initialize #32730

Open leotsaiCode opened 6 months ago

leotsaiCode commented 6 months ago

Microsoft PowerToys version

0.80.1

Installation method

GitHub

Running as admin

None

Area(s) with issue?

PowerToys Run

Steps to reproduce

install winget plugin and restart PowerToys and alt+space no reation.

✔️ Expected Behavior

alt+space show PowerToys run and work fine with other plugin, but the broken one should have some error message or just forced diable it by default.

❌ Actual Behavior

alt+space no reation.

Other Software

No response

[2024-05-05 01:42:56.3309] [ERROR] [C:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\ShellLinkHelper.cs::169] -------------------------- Begin exception -------------------------- Message: Failed to fetch description for C:\PROGRA~2\WINDOW~4\wmplayer.exe, Error HRESULT E_FAIL has been returned from a call to a COM component.

Exception full name : System.Runtime.InteropServices.COMException Exception message : Error HRESULT E_FAIL has been returned from a call to a COM component. Exception stack trace: at Wox.Infrastructure.ShellLinkHelper.IShellLinkW.GetDescription(StringBuilder pszName, Int32 cchMaxName) at Wox.Infrastructure.ShellLinkHelper.RetrieveTargetPath(String path) Exception source : Wox.Infrastructure Exception target site: Void GetDescription(System.Text.StringBuilder, Int32) Exception HResult : -2147467259 -------------------------- End exception --------------------------

[2024-05-05 01:42:56.3309] [ERROR] [C:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\ShellLinkHelper.cs::169] -------------------------- Begin exception -------------------------- Message: Failed to fetch description for C:\Windows\syswow64\odbcad32.exe, Error HRESULT E_FAIL has been returned from a call to a COM component.

Exception full name : System.Runtime.InteropServices.COMException Exception message : Error HRESULT E_FAIL has been returned from a call to a COM component. Exception stack trace: at Wox.Infrastructure.ShellLinkHelper.IShellLinkW.GetDescription(StringBuilder pszName, Int32 cchMaxName) at Wox.Infrastructure.ShellLinkHelper.RetrieveTargetPath(String path) Exception source : Wox.Infrastructure Exception target site: Void GetDescription(System.Text.StringBuilder, Int32) Exception HResult : -2147467259 -------------------------- End exception --------------------------

github-actions[bot] commented 6 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Doug233 commented 6 months ago

You can attempt to find the uninitialized plugin in the log, such as Total initialize cost for <Winget> is <277998ms>, then uninstall it. It seems like most people encountered this because of the winget plugin.