I customized my tool bar by adding an action. The action is registered by a custom plugin in a
module component, at its 'moduleAdded' method. The plugin unregisters its actions, and then
re-registers them, because the list of available actions is dynamic and might differ from the list
of actions previously registered.
So far so good - works good. However, if I restart IDEA, the tool bar button disappears, although
when I go to Settings/Customizations, I still see it there. If I make a modification to the tool bar
(move the button up or down, or add something else), it reappears.
I believe that's a bug, but I'm not sure (could be the plugin's fault due to the
Should I file a JIRA issue, or should I modify the plugin behavior to something different?