glikely / obs-ptz

OBS Pan Tilt Zoom camera control plugin
GNU General Public License v2.0
147 stars 42 forks source link

Save control dock size and position #120

Open JanGVH opened 1 year ago

JanGVH commented 1 year ago

I scale the camera control UI to a certain spot on my screen. I would like it if it came back there when reopening the plugin.

glikely commented 1 year ago

Can you provide more details please? What platform are you running on. Save & restore of window position works fine for me on MacOS

JanGVH commented 1 year ago

@glikely Set up: PC with win10 (enterprise I think) with extra audio and HDMI card for streaming and two PTZ cameras. When I open the UI I have to move it to the other side of my screen and set the length and width. I use EasyWorship V6 as a media integrator and the UI is right next to the EW UI. As far as I know, I can't nail this position of the UI on my screen. Thanks for your work, Jan

playaspec commented 1 year ago

I encountered a similar issue with two other plugins. I'd set them up, even locking the docks, quit, reopen OBS, and they'd be reset. I was about to open an issue with each plugin's author, when I read a comment on a closed issue suggesting to set up plugin docks as desired, take OBS out of full screen, then quit and reload.

Wouldn't ya know, it fixed the problem! Some weird bug with OBS itself not remembering dock positions while maximized to full screen. Once the preference was written, OBS started maximized with all docks where they should be.

Anyone running across this, let us know here if it fixed similar.