Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dock forgets its position on restart #41

Closed
matoi974 opened this issue Aug 2, 2020 · 4 comments
Closed

Dock forgets its position on restart #41

matoi974 opened this issue Aug 2, 2020 · 4 comments

Comments

@matoi974
Copy link

matoi974 commented Aug 2, 2020

Steps to reproduce:

  1. Enable both the obs-multi-rtmp dock and the Stats down in View > Docks.
    image
  2. Untick "Lock UI".
    image
  3. Drag the "Multiple output" dock on top of the Stats dock so they're in tabs.
    image
  4. Restart OBS. The dock will detach itself.
    image
@COOLIGUAY
Copy link
Contributor

Same here.

In my case, at the start it always appears on the right side.
Windows 10.

@jat001
Copy link
Contributor

jat001 commented Aug 23, 2020

that is because this plugin uses a custom config item DockLocation to save the dock location

this config item only saves the dock area, which is one of these numbers

1 Qt::DockWidgetArea::LeftDockWidgetArea
2 Qt::DockWidgetArea::RightDockWidgetArea
4 Qt::DockWidgetArea::TopDockWidgetArea
8 Qt::DockWidgetArea::BottomDockWidgetArea
0 Qt::DockWidgetArea::NoDockWidgetArea

other informations like dock size and dock position will not be saved

obs can save the dock state, but this plugin removed the dock and created a new one
https://github.com/sorayuki/obs-multi-rtmp/blob/0.2.5/src/obs-multi-rtmp.cpp#L1163

@COOLIGUAY in ur case. I think the value of DockLocation is a wrong number. just remove it in obs config file %APPDATA%\obs-studio\global.ini. the dock will be reset to left after restarting obs

so do not drag the dock to a tab or a window. the tab position or the window size cannot be saved and may cause bugs

@ace-kun-dev
Copy link

is there a fix already or any way to fix it? thanks

@sorayuki
Copy link
Owner

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants