Flow.Launcher icon indicating copy to clipboard operation
Flow.Launcher copied to clipboard

BUG: Icons are disappearing/missing, only back after a PC restart

Open pinetreemoonlight opened this issue 2 years ago • 7 comments

Checks

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

  • [X] I am using the latest version of Flow Launcher.

Problem Description

Icons for FlowLauncher entries are missing. This usually happens after a while of using my computer (including hibernating it etc.). The only "solution" that worked so far is rebooting my computer. I tried restarting FlowLauncher, didn't work.

To Reproduce

  1. boot PC and use FlowLauncher for a while
  2. Icons for FL entries will begin to appear missing

Screenshots

Screenshot 2023-12-15 225203

Flow Launcher Version

1.16.2

Windows Build Number

10.0.22631.2861

Error Log

Here is one of the entries I guess, please let me know if you need more details from the log though.


06:01:53.7100+01:00 - ERROR - ImageLoader.Load - Failed to get thumbnail for C:\Users\user\AppData\Roaming\Anki2\user\collection.media\2pNywPxxeKNu-OlM2z4rlkEQwSKbQ1vHt8qjnkwGmatfiE3NMHc_oWPdjvThvsmqhG4mLp9Rwl0U0Ee7p3yda1iMU_ST0C_lUlxOHkVHa3sSWkz4_Dg.png on first try
EXCEPTION OCCURS: System.Runtime.InteropServices.COMException (0x80004005): Error while extracting thumbnail for C:\Users\user\AppData\Roaming\Anki2\user\collection.media\2pNywPxxeKNu-OlM2z4rlkEQwSKbQ1vHt8qjnkwGmatfiE3NMHc_oWPdjvThvsmqhG4mLp9Rwl0U0Ee7p3yda1iMU_ST0C_lUlxOHkVHa3sSWkz4_Dg.png
 ---> 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 236
   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 160

pinetreemoonlight avatar Dec 15 '23 22:12 pinetreemoonlight

Hi there, is flow stored on HDD/SSD drive or in OneDrive?

jjw24 avatar Dec 31 '23 02:12 jjw24

i had the same issue a while ago, i reisntaled and everything is normal again, so i assume this is some problem with cached files or something like that. For any dev seeing this, could be worth it to check if this is really the problem, for users with the same problem unistall flow launcher, clear the Flow's folders inside %localappdata% and %appdata% then reintall it. (doing backup fpom your configs is recomended)

HyroGoth avatar Dec 31 '23 04:12 HyroGoth

Hi there, is flow stored on HDD/SSD drive or in OneDrive?

Hi, it's stored on an M.2 SSD.

pinetreemoonlight avatar Jan 18 '24 02:01 pinetreemoonlight

same thing happening to me as well, i tried reinstalling also twice, and even cleared localappdata and appdata folders of flow launcher, its still no icons and the app also freezes if i search a app, then u cannot bring it back using the hotkey, i need to restart it after killing from task manager

using on a NVMe SSD, no extra plugins other than the preinstalled ones, hotkey setting changed and custom theme from the list of preinstalled one

ShauryaKesarwani avatar Jan 22 '24 15:01 ShauryaKesarwani

I also have the same problem. It's probably an issue with the Program plugin. Running a Reindex fixed the problem but I'm not sure whether it's temporary or not.

image

z1nc0r3 avatar Jan 28 '24 02:01 z1nc0r3

I have the same issue, reinstalling, clearing cache, deleting user settings, disabling any of the plugins, and running the Reindex option doesn't fix the issue for me.

I found that killing the windows process DllHost.exe (which restarts shortly after) fixes the issue without the need to restart the computer. The command line of said instance is /Processid:{3AD05575-8857-4850-9277-11B85BDB8E09}

I found this about the guid: https://strontic.github.io/xcyclopedia/library/clsid_3ad05575-8857-4850-9277-11b85bdb8e09.html image

Edit: Some more info

Interestingly enough, I don’t have anything in the application logs from the time this issue occurs, but I do have this exception about an hour ago

12:54:40.3023+03:00 - ERROR - ImageLoader.Load - Failed to get thumbnail for C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.V9ec52f61#\54b7fd8fb991838ef7d26db836fd4cc9\Microsoft.VisualStudio.Commands.ni.dll.aux on second try
EXCEPTION OCCURS: System.ArgumentException: Value does not fall within the expected range.
   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 247
   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 169

Kamilkampfwagen-II avatar Mar 02 '24 10:03 Kamilkampfwagen-II

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh

github-actions[bot] avatar May 02 '24 01:05 github-actions[bot]

This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.

github-actions[bot] avatar May 09 '24 01:05 github-actions[bot]