Make a plugin gui, close it, the viewport focuses.
Expected behavior
The viewport shouldn’t focus. Leave my viewport, script, etc windows as they were.
Make a plugin gui, close it, the viewport focuses.
Expected behavior
The viewport shouldn’t focus. Leave my viewport, script, etc windows as they were.
Why do you say the viewport focuses? To me it looks more like the focus blurs on panel close leaving nothing focused.
If I have scripts open on top of the viewport, the viewport comes back up on top of all the scripts and anything else.
Could you post a video? I’m not seeing the same behavior.
Does this happen with other plugins or just that one? I tried it with a couple of things, on Windows, and I’m not getting the same behavior.
I’m experiencing the same issue and can reproduce it consistently. After some experimenting I found that this only happens with DockWidgetPluginGuis created in locally installed plugins.