BUG: Icons are disappearing/missing, only back after a PC restart
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
- boot PC and use FlowLauncher for a while
- Icons for FL entries will begin to appear missing
Screenshots
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
Hi there, is flow stored on HDD/SSD drive or in OneDrive?
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)
Hi there, is flow stored on HDD/SSD drive or in OneDrive?
Hi, it's stored on an M.2 SSD.
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
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.
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
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
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
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.