Issues with MAP icons (black cross)

We have a map plugin that uses over 20 different icons. Most of the time the icons work well, but we have a very annyoing bug where the icons will sometimes get replaced with a black cross on the MAP. Also, sometimes the icon will be replaced by the default icon (ItemNode.MapIcon instead of ItemNode.MapIconDictionary) when we do a state change [(EventServerControl.Instance.ItemStatusChanged(InputItem)] close to when the plugin is starting but after the ApplicationUp was been received.

A big annoyance is the icon sizes. With access control plugins, we can simply provide a .png but with ItemNode plugins, we still need to provide complicated icons that MUST have 8x8, 16x16, 24x24, 32x32, 48x48, and 64x64 sizes. This takes a long time to design.

I need a way to debug the icons issue, how can I check why/how an icon would be replaced by a black cross or its default icon?

Thank you.

Edit: I did another test, I can reproduce the issue easilly by changing the icons I use for a given “input”. My plugin can change the icons at runtime by checking for config changes and calling a new state change after it loads. When I invert the icons I use, sometimes it works, sometimes it shows a black cross.

Edit: I fixed that particular icon, I noticed it had an 10x10 instead of 8x8.

Hi Eric,

​Can you please tell us how to reproduce the issues for further investigation?

Hi Rie,

We may have had a bug, we will know soon enough if it had any effect.

Our background plugin was set to load in “Service” and “Administrator” TargetEnvironments. Perhaps that was causing the icons to reset after they were getting set.

We opened up a few of our icons and noticed that there was an issue with some of them, they had 10x10 instead of 8x8 and so it would show as a black cross, even though we had icons set to “Very Large (which is only 64px)”.

Could you please make an official request to remove the 8x8 format? Does anyone really use it at all? The reason I ask is because we use this website https://icoconvert.com/ to convert .PNG to .ICO and it would save us ALLOT of time because the website does not do 8x8 and we have to manually open each icon in GIMP 2.0 and add an 8x8 layer.

Thanks.

We will ask Milestone Management to put it on the wish-list for future enhancement development work. A prioritization needs to be made by Milestone Product Management, so it is not possible to say when, or even if, this will be developed.