question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BUG: Hotkey does nothing, apparently after earlier exception

See original GitHub issue

Checks

  • I have checked that this issue has not already been reported.

  • I am using the latest version of Flow Launcher.

Problem Description

Sometimes when I use the hotkey (Alt+Space in my case) to bring up the Flow Launcher search bar, it doesn’t respond. Flow Launcher is still running, appearing in Task Manager and in the system notification area, but it does not respond to the hotkey.

When the process is killed and restarted, it works fine again.

To Reproduce

Reproduction steps are unknown. However, when I see this behavior, inspecting the most recent log shows exceptions, some time earlier. (i.e. These errors are not caused by using the hotkey.) These appear in batches every 10 minutes, perhaps linked to periodic indexing operations?

Screenshots

No response

Flow Launcher Version

1.15.0

Windows Build Number

10.0.19045.3086

Error Log


[these exceptions appear quite soon after startup, and I believe the program is still working properly after these.]

20:52:02.0986+01:00 - ERROR -  - ------------- BEGIN Flow.Launcher.Plugin.Program exception -------------
20:52:02.0986+01:00 - ERROR -  - 
Exception full name: System.Runtime.InteropServices.COMException
Error status: UNKNOWN
Class name: IShellLinkW
Calling method: retrieveTargetPath
Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Windows Media Player.lnk
InnerException number: 1
Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component.
Exception error type: HResult -2147467259
Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32)
Possible interpretation of the error: Error caused likely due to trying to get the description of the program
Possible resolution: Not yet known
20:52:02.0986+01:00 - ERROR -  - ------------- END Flow.Launcher.Plugin.Program exception -------------

20:52:02.2278+01:00 - ERROR -  - ------------- BEGIN Flow.Launcher.Plugin.Program exception -------------
20:52:02.2278+01:00 - ERROR -  - 
Exception full name: System.Runtime.InteropServices.COMException
Error status: UNKNOWN
Class name: IShellLinkW
Calling method: retrieveTargetPath
Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\ODBC Data Sources (32-bit).lnk
InnerException number: 1
Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component.
Exception error type: HResult -2147467259
Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32)
Possible interpretation of the error: Error caused likely due to trying to get the description of the program
Possible resolution: Not yet known
20:52:02.2278+01:00 - ERROR -  - ------------- END Flow.Launcher.Plugin.Program exception -------------

[...........followed by many of these exceptions later...., and I think it's after one or more of these that the search bar stops appearing]

23:14:36.1035+01:00 - ERROR - ImageLoader.Load - Failed to get thumbnail for C:\Program Files (x86)\Steam\steam\games\b0ff6bdb2da01a5924a7f67359af45b8c69ff5b9.ico on second try
EXCEPTION OCCURS: System.Runtime.InteropServices.COMException (0x80004005): Error while extracting thumbnail for C:\Program Files (x86)\Steam\steam\games\b0ff6bdb2da01a5924a7f67359af45b8c69ff5b9.ico
 ---> System.Runtime.InteropServices.COMException (0x8004B201): 0x8004B201
   at IntPtr Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetHBitmap(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 129
   at BitmapSource Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetThumbnail(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 120
   at ImageResult Flow.Launcher.Infrastructure.Image.ImageLoader.GetThumbnailResult(ref string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 239
   at async ValueTask<ImageResult> Flow.Launcher.Infrastructure.Image.ImageLoader.LoadInternalAsync(string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 163

23:24:36.1167+01:00 - ERROR - ImageLoader.Load - Failed to get thumbnail for C:\Program Files (x86)\Steam\steam\games\dca530aba423efd0d3cf5794fe63675e88bf60a0.ico on first try
EXCEPTION OCCURS: System.Runtime.InteropServices.COMException (0x80004005): Error while extracting thumbnail for C:\Program Files (x86)\Steam\steam\games\dca530aba423efd0d3cf5794fe63675e88bf60a0.ico
 ---> System.Runtime.InteropServices.COMException (0x8004B201): 0x8004B201
   at IntPtr Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetHBitmap(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 129
   at BitmapSource Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetThumbnail(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 120
   at ImageResult Flow.Launcher.Infrastructure.Image.ImageLoader.GetThumbnailResult(ref string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 239
   at async ValueTask<ImageResult> Flow.Launcher.Infrastructure.Image.ImageLoader.LoadInternalAsync(string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 163

[...and many other similar exceptions

Issue Analytics

  • State:open
  • Created 3 months ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Kylotancommented, Jul 19, 2023

I’ve updated and will comment again if it does, but it happens too infrequently for it to be easy to tell.

0reactions
jjw24commented, Aug 6, 2023

That’s ok, let’s keep this open for a while and if you could update when you see a pattern to repro this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Keyboard shortcuts are lost and not retained in 23.4
I have been experiencing Premiere Pro Version 23.4 Keyboard Shortcut issues with these 3 commands that keep on disappearing 1. Effects 2. Effect...
Read more >
Launchpad key not working. Anyone else?
All of the rest of the function keys do their jobs properly, but the Launcpad one doesn't start up Launchpad.
Read more >
Keyboard shortcuts sometimes do not work for other windows
Hello, I had the same problems like Richard Eames. Actually the [Ctrl]+D and [F3] Shortcut don't work. After restart Ecilpse all issues work...
Read more >
Compile time error checking bug - Developer Community
A fix would be nice] [regression] [worked-in:16.8.0 or previous] this latest version of visual studio is having issues while checking for syntax error...
Read more >
Keyboard shortcuts not working in Safari and Firefox after ...
My problem was Command - Shift - Option - V (Paste and Match Style) which would just give me right-pointing double angle quotation...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found