You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to have a look at the failover when icon loading fails, it seems to work for most folders but with C:\Windows\system32 it crashes at this point with:
Properties.Resources.WhiteTransparency = 'Properties.Resources.WhiteTransparency' threw an exception of type 'System.Reflection.TargetInvocationException'
However, I thought this is the ressource as I cannot find the WhiteTransparency icon but as it works most of the time it might be something different?
I tested this by forcing Shell32SHGetFileInfo to return IntPtr.Zero;.
It could be related to this as it starts failing at row item 3276 on my system.
Maybe the icon must be loaded into some static variable, so it is access via Properties only once and than just clone this object manually at the mentioned code location?
When
icon
is null at this point, this line gets executed ...SystemTrayMenu/DataClasses/RowData.cs
Line 79 in 1edfa65
... and the app it crashes as STM tries to load the resource but that is not existing.
The text was updated successfully, but these errors were encountered: