Closing a plugin window focuses the viewport

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.

2 Likes

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.

1 Like

Could you post a video? I’m not seeing the same behavior.

1 Like

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.

1 Like

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.