Hey there, it seems to me that opening the panel of my plugin via the panel-tabs bar has changed between Rhino5 and 6. I have a text editor in on my panel and it has information inside it. If i close it and reopen it via the panel-tabs bar in rhino5 it seems to me that it just hides and shows the panel, but in rhino6 it somehow shows another instance of the plugin-panel, which is uninitialized because I don’t handle this scenario apperently.
If I just Open the panel like this at first, then it start the plugin and goes through the init process and works just fine. The problem only appears if I close it like this and reopen it like this.
I have 2 possible scenarios in my mind.
- Rhino6 somehow has a cached version of the raw UI and shows that on reopen.
- Rhino6 truly closes the whole plug-in(in contrast to rhino5) with this panel-tab bar mouse way, and then it restarts the plug-in on reopen and I just don’t catch that scenario and don’t initialize my plug-in.
Could someone help me with this, what can cause this and how to solve no loose information on reopen?