Hey guys,
I am trying to use Rhino.UI.Panels.OpenPanel on mac, and finding some apparently problematic behavior. To reproduce it, you can:
- In OnLoad, call RegisterPanel using Dale’s SampleCsEtoPanel.
- In a command, call OpenPanel with SampleCsEtoPanel.PanelId.
- Build and run.
- Run your command; the panel pops up.
At this point, everything is working as expected; the panel stays above the Rhino window even when it loses focus, and you can close it and run the command again, and it will re-open and continue to work the same.
However, once you click the “Hello” button, the behavior will change; now, the panel will disappear below the Rhino window if it loses focus, and you will need to use CTRL+DOWN to find it. Closing the panel and running your command again to re-open it, it will briefly flash above the Rhino window before disappearing below again. This will continue until you restart the application, at which point the pattern will repeat.
Please let me know whether you can reproduce this, and/or whether it is supposed to be working this way. I am using here the current WIP 5.3 (5D92w) and the current release 5.2.3 (5C258) on el capitan.
Thanks,
Jeremy