Skip to content

Dock Sizes are Reset the next time you open OBS. #2949

Closed as not planned
Closed as not planned

Description

@GentlePuppet

Platform

Operating system and version: Windows 10 Pro 1809
OBS Studio version: 25.0.8

Expected Behavior

When I manually resize locked Docks in the UI I expect them to be remembered and kept the next time I open OBS.

Current Behavior

When I manually resize a dock it will be reset the next time I open OBS.

Steps to Reproduce

Manually Set Sizes
Manually Set Sizes

Close and reopen OBS
Reset Sizes

Activity

  1. Bidthedog commented on Jul 17, 2020

    @Bidthedog

    I'm experiencing this too. Windows user.

    I've done a bit of digging, and it seems that dock settings might only be saved when you have an authenticated Twitch stream destination set up. The profile's "basic.ini" file (in %APPSETTINGS%\obs-studio\basic\profiles<Profile_Name>) contains the following for my "Twitch" profiles, but nothing for profiles that do not target Twitch.

    I've not tested with any other stream destinations as I don't use OBS to stream elsewhere:

    [Twitch]
    ...
    DockState=AAAA/wAAAAD9AAAAAgAAAAEAAADcAAAC7vwCAAAABfsAAAASAG0AaQB4AGUAcgBEAG8AYwBrAQAAABUAAALuAAAAWwD////7AAAAFAB0AHcAaQB0AGMAaABDAGgAYQB0AgAABwkAAATWAAABLAAAAlj7AAAAFAB0AHcAaQB0AGMAaABJAG4AZgBvAgAAADYAAASLAAABLAAAAor7AAAAFgB0AHcAaQB0AGMAaABTAHQAYQB0AHMCAAAC0QAABa8AAADIAAAA+vsAAAAUAHQAdwBpAHQAYwBoAEYAZQBlAGQCAAAAYAAABJ4AAAEsAAACigAAAAMAAAZiAAAAtvwBAAAABfsAAAAUAHMAYwBlAG4AZQBzAEQAbwBjAGsAAAAAAAAAAboAAACgAP////sAAAAWAHMAbwB1AHIAYwBlAHMARABvAGMAawEAAAAAAAAEJQAAAKAA////+wAAAB4AdAByAGEAbgBzAGkAdABpAG8AbgBzAEQAbwBjAGsAAAAD4gAAASwAAACEAP////sAAAAYAGMAbwBuAHQAcgBvAGwAcwBEAG8AYwBrAQAABCkAAAI5AAAAigD////7AAAAEgBzAHQAYQB0AHMARABvAGMAawIAAAsNAAAFxgAAArwAAADIAAAFggAAAu4AAAAEAAAABAAAAAgAAAAI/AAAAAA=
    ...
    

    For context, I use OBS to record parts of my 4K desktop, so I can target the application in online meeting software like Whereby, Zoom, Teams etc - it's the only way that the people I'm presenting to can see my desktop in a large enough scale. I don't need a stream destination set up, and setting up a custom RTMP doesn't seem to save the dock settings in the same way.

  2. added
    issue/confirmed
    on Aug 26, 2020
  3. skeletonbow commented on Aug 31, 2020

    @skeletonbow
    Contributor

    I experience this same problem as well, just talked with Matt||Wizard about it. I've never connected my OBS up to any live streaming service (Twitch/YouTube/etc.) and only use it for primarily local recording and visual effects development, as well as streaming through VirtualCam on Discord voice chat and voice channels occasionally. The exact same symptoms as described in the original report above occur for me. Some additional info:

    I'm on Windows 10/x64 1909 build fully updated, running OBS 25.0.8. Reorganizing the panels, OBS remembers that I added/removed/stacked/etc. the panels but once it is closed and restarted, most if not all of the panels have been resized. I've tried setting it all up both with UI locked and not locked on multiple invocations and the width and specific location of panels is not remembered and restored.

    Merely starting OBS up, adjusting the width of a panel and exiting then restarting is enough to reproduce 100% of the time.

  4. skeletonbow commented on Aug 31, 2020

    @skeletonbow
    Contributor

    Ok, I did some testing and it appears that every OBS dock has a certain preferred size that it wants to be no smaller than, and if you resize it smaller than that, it will let you up to a minimum size, but when you exit OBS, if the current size of any panel is less than the preferred size it mysteriously seems to want to be no smaller than, when you exit OBS and restart it it will resize all of the panels to be this preferred size, ignoring your resizing wishes.

    Potential suggested solution; Set the minimum sizes of the panels to be the smallest acceptable sizes and allow the user to resize the panels to this size if desired and save and restore them, without enforcing a preferred size smaller than the minimum the user is allowed to resize to.

  5. Bidthedog commented on Aug 31, 2020

    @Bidthedog

    Ok, I did some testing and it appears that every OBS dock has a certain preferred size that it wants to be no smaller than, and if you resize it smaller than that, it will let you up to a minimum size, but when you exit OBS, if the current size of any panel is less than the preferred size it mysteriously seems to want to be no smaller than, when you exit OBS and restart it it will resize all of the panels to be this preferred size, ignoring your resizing wishes.

    Potential suggested solution; Set the minimum sizes of the panels to be the smallest acceptable sizes and allow the user to resize the panels to this size if desired and save and restore them, without enforcing a preferred size smaller than the minimum the user is allowed to resize to.

    Also, don't forget the ability to turn docks off - including the ability to turn off ALL docks so only the main capture screen is shown.

  6. skeletonbow commented on Aug 31, 2020

    @skeletonbow
    Contributor

    Ok, it seems that only the panels in the bottom dock group below the preview exhibit this behaviour on my system. If I resize the Scenes pane which is moved to the left of preview, I can shrink it to minimum width and it stays that way over a restart. If I move it to the bottom dock group and shrink it to the same minimum size, it does not remember it and restores itself to a preferred size larger than I set it to.

    Is anyone able to reproduce this on a stock OBS with my repro info? I do have plugins installed, so my next step would be to set up a pristine install unless someone who has a pristine install can repro it as described, just to help narrow things down further.

  7. shleeable commented on Sep 10, 2020

    @shleeable
    Contributor

    Experiencing the same issue.
    Simple replication: Dock the stats. Shrink the stats. close and reopen. the stats bar is at full size.

  8. WizardCM commented on Jan 19, 2021

    @WizardCM
    Member

    So based on what others have said, and the code I've looked at, there are two potential theories:

    1. When initialising, certain docks have a minimum size that's different to their defined minimum size
    2. (this one's my own) dock positions aren't being saved properly, but it's not related to OAuth dock saving

    If it's 2, then performing this task sooner during shutdown might help:

    config_set_string(App()->GlobalConfig(), "BasicWindow", "DockState",
    saveState().toBase64().constData());

    If it's 1, we might need to do more specific tests to see if everyone is able to reproduce it the same way. That is, we need to put together reproduction steps using specific built-in docks in a certain layout & window size.

  9. BobbyFuzzy commented on Jan 19, 2021

    @BobbyFuzzy

    I have also noticed this issue. Please let me know if I can put together any info for you to help diagnose @WizardCM.

  10. BobbyFuzzy commented on Jan 22, 2021

    @BobbyFuzzy
    • When initialising, certain docks have a minimum size that's different to their defined minimum size

    To add to this, I am trying to make docks larger and still experiencing the issue of the size not saving.

    I've done a bit of digging, and it seems that dock settings might only be saved when you have an authenticated Twitch stream

    I tested this also with the restream.io profile and noticed that it will save the dock sizes if a profile is linked.

  11. mihawk90 commented on Apr 21, 2021

    @mihawk90
    Contributor

    I just now noticed I am having the same issue, I never noticed it before (since I wasn't using Browser docks before, so defaults were fine for me). Can reproduce with 26.1.2 and 27.0.0~rc2, both on Fedora KDE and with an empty profile (i.e. ~/.config/obs-studio moved out).

    Also @WizardCM reading that code-snippet, it seems it is just converting whatever values it gets from saveState() to base64, right? But when I take my string in the DockState and put it in a base64-decode, I get mostly gibberish... not sure if that's an issue with the decoder (just some online tool, sorry :P), inherent to the values returned, or an actual issue with the values saved. And from that bit that is readable, it also seems like it is saving states for docks that are not even present anymore? Not sure if that is normal either.

  12. SXRWahrheit commented on Dec 5, 2021

    @SXRWahrheit

    +1 for this issue. I'd like to add that my layout consistently prioritizes the stream preview versus the other dock windows, and re-maximizing the window does not restore the docks to their prior state. It would be fine if I could just load a layout so that once I have it how I like it, I can do that even if it gets messed up.

  13. SubhamSatyajeet commented on Dec 10, 2021

    @SubhamSatyajeet

    I've also experienced this issue on Wndows 10 20H2, OBS Studio 27.1.3 (64 bit).
    But it does not occur when you install OBS.

    However, after enabling the following settings under Settings > General > System Tray:

    1. Enable
    2. Minimise to system tray when started

    This issue begins to occur.

  14. pinned this issue on Dec 20, 2021
  15. 8 remaining items

  16. mihawk90 commented on Jun 4, 2022

    @mihawk90
    Contributor

    I have combed through every setting and cannot find any that are specific to doing this for the main OBS window

    It's not a setting.

    They are talking about just not maximizing the window (i.e. through the maximize button on the title bar) and then just dragging the window size to the edges of your screen instead.

  17. playaspec commented on Jan 22, 2023

    @playaspec

    I have found a work-around, at least on my two Win10 machines running various versions of OBS (stock 27.2.3, local build based on 27.1.3, local build based on latest source)

    I have always run OBS Maximized (not full-screen), and been annoyed by the docks resizing. On a whim, I changed OBS to a resizable window, adjusted that to be as large as possible, and sized the dock items. Exit OBS. Start OBS, and WINDOW AND DOCK SIZES ARE RIGHT WHERE I SET THEM.

    I then Maximized OBS, and tweaked the dock sizes. Exit OBS. Start OBS, and WINDOW AND DOCK SIZES ARE RIGHT WHERE I SET THEM.

    Just tried it on full-screen, and it works there as well.

    This worked for me as well. Thanks so much!

    OBS 29.0.0, built from source.

  18. lejyfps commented on May 11, 2023

    @lejyfps

    Why tf is that bug even still a thing after ages ?? .. -_- driving someone actually nuts

  19. archeruwu commented on May 28, 2023

    @archeruwu

    Can confirm, this STILL happens on the LATEST version of OBS 29, to add on, ever since the release of 28.0, OBS no longer remembers what monitor it was last on when the window is maximized. and will just open to the default monitor (which mine happens to be 3440x1440 which is VERY large, and messes with the Dock scaling really bad).

  20. nospam2k commented on Dec 28, 2023

    @nospam2k

    Lol, this is interesting. This bug has been around for almost 3 years! The problem is when in full screen, dock widths are not saved. So come out of full screen, enlarge the window to the size of full screen, set the dock sizes, uncheck/recheck Dock Lock, close and reopen and it's saved. Switched to full screen and close enough!

  21. WizardCM commented on Dec 29, 2023

    @WizardCM
    Member

    Except it's only 100% reproducible for some people, and often times a fresh installation (where the user backs up & deletes their config) fixes the bug. For most people, the bug does not occur.

  22. AlphaTechnicalReal commented on Dec 30, 2023

    @AlphaTechnicalReal

    I had a friend with this issue after we updated from 28 to 30 and put OBS into portable mode. The solution was just to run OBS as administrator. Give it a shot.

  23. belatar commented on Apr 26, 2024

    @belatar

    Lol, this is interesting. This bug has been around for almost 3 years! The problem is when in full screen, dock widths are not saved. So come out of full screen, enlarge the window to the size of full screen, set the dock sizes, uncheck/recheck Dock Lock, close and reopen and it's saved. Switched to full screen and close enough!

    omg, ive been searching for a solution and this did the trick. thanks! drove me nuts having to rearrange my docks everytime i opened it. i wonder what makes this so hard to fix. considering obs does tons of bleeding edge performance critical video and audio stuff this issue sounds like a simple one.
    but maybe its one of these "sounds easy, actually is hard" kind of issues.

  24. Fenrirthviti commented on Apr 26, 2024

    @Fenrirthviti
    Member

    If running as admin fixes it, you're likely running OBS from a location that doesn't have proper permissions to save settings to as a normal user, especially if OBS is running in portable mode.

    There's no log files in this entire thread though, so it's hard to say.

  25. AlphaTechnicalReal commented on Apr 26, 2024

    @AlphaTechnicalReal

    If running as admin fixes it, you're likely running OBS from a location that doesn't have proper permissions to save settings to as a normal user, especially if OBS is running in portable mode.

    There's no log files in this entire thread though, so it's hard to say.

    You are correct here. Every person I’ve seen with has recently moved the OBS installation or has a folder permission issue. Once OBS is in portable mode you basically always have to run it as admin if not you into all sorts of issues.

    I’ll take running it as admin all the time to make sure I have full instance backups of OBS.

  26. RytoEX commented on Apr 26, 2024

    @RytoEX
    Member

    Once OBS is in portable mode you basically always have to run it as admin if not you into all sorts of issues.

    If you must run OBS as administrator while in Portable Mode, then that all but confirms that the location OBS is in is write-protected, and your user account itself does not have write permissions there.

    Do not run OBS in Portable Mode from protected locations, such as:

    • C:\Program Files
    • C:\Program Files (x86)
    • C:\ProgramData

    If you want to run OBS in Portable Mode, extract the zip file somewhere you do have write permissions, such as one of these example locations. Make sure you have permission to write files there (you do not get an admin prompt when extracting files):

    • Desktop
    • C:\examplefolder
    • D:\examplefolder

    Otherwise, just run OBS normally (not in Portable Mode), and it will use your user AppData for its user data, and it should work fine.

  27. selwynorren commented on Jul 16, 2024

    @selwynorren

    Lol, this is interesting. This bug has been around for almost 3 years! The problem is when in full screen, dock widths are not saved. So come out of full screen, enlarge the window to the size of full screen, set the dock sizes, uncheck/recheck Dock Lock, close and reopen and it's saved. Switched to full screen and close enough!

    omg, ive been searching for a solution and this did the trick. thanks! drove me nuts having to rearrange my docks everytime i opened it. i wonder what makes this so hard to fix. considering obs does tons of bleeding edge performance critical video and audio stuff this issue sounds like a simple one. but maybe its one of these "sounds easy, actually is hard" kind of issues.

    So interestingly enough this has been a massive issue for me in Linux as well. This works 100% I always had it maximised and I woudl have to reset width every time I launched OBS. With this workaround it is exactly where I need it to be ever time. Thank you so much!!! Now a permanent fix for maximised would be so helpful.

  28. Fenrirthviti commented on Oct 14, 2024

    @Fenrirthviti
    Member

    Since this all seems to be an issue with permissions and not a bug with OBS, I am opting to close this.

    If this is still an issue please open a new issue with updated reproduction steps on the latest version of OBS.

  29. unpinned this issue on Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions