The error message doesn't necessarily have to do anything with the menu being deactivated. Even after applying a workaround that gets rid of the message (by hiding the menu before hiding the window), the menu still refuses to work after hiding the window and showing it again.
I'm a at a loss as to how to debug this. All I can say so far is that it is not the action that gets deactivated, so it must have something to do with the menu.
The error message doesn't necessarily have to do anything with the menu being deactivated. Even after applying a workaround that gets rid of the message (by hiding the menu before hiding the window), the menu still refuses to work after hiding the window and showing it again.
I'm a at a loss as to how to debug this. All I can say so far is that it is not the action that gets deactivated, so it must have something to do with the menu.