I have multiple users that use OBS on a computer and only one of them uses the plugin; the others just have a really small scene list, so it doesn't make sense to use it. Everything is fine for the user that uses the plugin, but for the others, even if we close OBS with the dock not enabled(unchecked from the Dock menu and not visible), the next time that OBS starts, the dock is open, just floating.
Looking at a few other plugins, it looks like they use setVisible(false) or hide() functions (inherited from QWidget) when instantiating the dock, but I don't see that anywhere in your code.
I have multiple users that use OBS on a computer and only one of them uses the plugin; the others just have a really small scene list, so it doesn't make sense to use it. Everything is fine for the user that uses the plugin, but for the others, even if we close OBS with the dock not enabled(unchecked from the Dock menu and not visible), the next time that OBS starts, the dock is open, just floating.
Looking at a few other plugins, it looks like they use setVisible(false) or hide() functions (inherited from QWidget) when instantiating the dock, but I don't see that anywhere in your code.