I use a plugin: Run configuration as Action
I created a custom action wich is displayed on the main toolbar after the folder 'Toolbar run action'.
The custom action's goal to run one of my project gradle task. When I added the action I selected an icon file.
After the creation Idea displays the icon correctly but when I restart it it does not displays the given icon but some kind of placeholder. My attachment shows this case.
If I refresh the icon by using 'Customize Menus and Toolbars...' and 'Edit icon' Idea displays the toolbar action correctly again until the next restart.
There has been such Idea version where restart did not imply the need for the procedure written above. Unfortunately I did not remember which was it.
I reported this issue to JetBrains. They think that the problem is with the plugin.
IU-193.6494.35, JRE 11.0.5+10-b520.38x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920x1080, 1920x1080
Thank you in advance,
Gábor Tóth