You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The UI is back to forgetting dock allowances. I reported before that screen resizing would blow away carefully positioned docks. That got fixed, but now every time the app closes and opens (even at the same size) many of the dock sizes are gone. This is extra noticeable given the crash rate. I've had to resize the whole dock layout 20 times today just to get audio meters on screen.
These screen shots are not from the laptop I was using on scene, but this replicates pretty easily on my desktop at home.
This is Hyprland (a tiling windows manager) and OBS is the only app running full screen. I adjust the docks to make the main controls narrower and give me more room for audio meters (and on my production system PTZ controls, etc). Lets say I configure it to look like this:
I would hope that closing and re-opening (let alone crashing and re-opening) would bring back the same UI, but it does not. Quit and re-open and it looks like this:
Notice both the dock height has reset itself to some smaller size and the controls/scenes/sources docks have all taken up more width than they were left with.
Additionally I'll note that this was working correctly at some point in OBS-Rust, and specially I tested this after my issue report #2225 was fixed, which had to do with loosing dock size information when the window was resized smaller and then bigger again. This is a regression since then. In fact the sizes it keeps reverting me back to look like something I used previously, but it has since stopped allowing any updates and is frozen in time with whatever dock arrangement it got stuck with from a week or two ago.
Claiming: investigation of dock sizes reverting on restart (pool slot obs-studio3). 1. Trace frontend save/restore and Rust-backed config against upstream and the #2225 fixes. 2. Reproduce through the real Qt save/restore path under Xvfb and commit a RED regression. 3. Fix, validate, and open a draft PR once RED exists; first PR expected this session. I will leave #3560 and its branch untouched.
Investigation: the config setter/save code accepts the DockState base64 string; the frontend instead chooses an older snapshot whenever any dock is at its minimum width. This was introduced by #2727/#2743 as clamp protection for #2225. A deliberately narrow Controls/Scenes dock can therefore freeze saving unrelated dock widths and heights. I am reproducing this through Qt resize, the production save helper and config_save_safe/reopen, while retaining the existing narrow-window tests. /ready
The save helper can reject intentional dock resizing whenever a dock reaches its minimum. The bounded implementation target is to retain clamp protection on window shrinking while allowing changed separator layouts to replace the saved state, with a real Qt + config save/reopen regression.
Continuing accepted claim for implementation now that #3740 is Ready. No overlapping open dock/layout PR found; #3560 is closed with its branch preserved. The new Qt test uses the actual separator and config C API, including close/reopen of user.ini, rather than asserting a mocked cache decision.
Fixed on master by #3796. The frontend clamp-safe snapshot was treating a deliberately minimum-width dock as a squeezed window and saving an older arrangement. Completed separator edits now replace that snapshot; automatic window clamping and no-op clicks retain the protection from #2225.
The RED regression reproduced lost width and height through the production Qt helper and config safe-save/reopen path. After the fix, all three new cases and nine unchanged proportion cases pass. The real hybrid frontend also passed three fresh processes under Xvfb: Controls narrowed 478→206 px, bottom docks grew 216→366 px, and all five dock sizes restored exactly after normal quit/restart. Hosted PR and merge-queue checks passed. This was checked on Linux/X11 under Xvfb; Hyprland/Wayland and third-party docks were not directly exercised.
Claiming: #3740 (the tiling window manager case, continuing my takeover comment above). PR: #4841, now in the merge queue. A fix for anything the retest finds follows in a new PR.
The fix is now on master (#4841, 1d8b65e): when the window grows after the start, as it does under a tiling window manager, OBS restores the saved dock layout again. Could you check it with the next obs-studio-rust-git build? If a dock still loses its size after a restart, a fix for that follows in a new PR. If it works, I will close this issue.
Closing human reported issues based on LLM testing is something you should configure your agents to STOP DOING.
I just rebuilt and updated to check this situation prior to an event tonight, and the issue has seriously regressed. I'm going to open a new issue, this is just a pointer for anybody landing here.
Activity
alerque commentedon Nov 6, 2026
Additionally I'll note that this was working correctly at some point in OBS-Rust, and specially I tested this after my issue report #2225 was fixed, which had to do with loosing dock size information when the window was resized smaller and then bigger again. This is a regression since then. In fact the sizes it keeps reverting me back to look like something I used previously, but it has since stopped allowing any updates and is frozen in time with whatever dock arrangement it got stuck with from a week or two ago.
zackees commentedon Nov 7, 2026
Claiming: investigation of dock sizes reverting on restart (pool slot obs-studio3). 1. Trace frontend save/restore and Rust-backed config against upstream and the #2225 fixes. 2. Reproduce through the real Qt save/restore path under Xvfb and commit a RED regression. 3. Fix, validate, and open a draft PR once RED exists; first PR expected this session. I will leave #3560 and its branch untouched.
zackees commentedon Nov 7, 2026
Investigation: the config setter/save code accepts the DockState base64 string; the frontend instead chooses an older snapshot whenever any dock is at its minimum width. This was introduced by #2727/#2743 as clamp protection for #2225. A deliberately narrow Controls/Scenes dock can therefore freeze saving unrelated dock widths and heights. I am reproducing this through Qt resize, the production save helper and config_save_safe/reopen, while retaining the existing narrow-window tests. /ready
zackees commentedon Nov 7, 2026
/ready
The save helper can reject intentional dock resizing whenever a dock reaches its minimum. The bounded implementation target is to retain clamp protection on window shrinking while allowing changed separator layouts to replace the saved state, with a real Qt + config save/reopen regression.
zackees commentedon Nov 7, 2026
Continuing accepted claim for implementation now that #3740 is Ready. No overlapping open dock/layout PR found; #3560 is closed with its branch preserved. The new Qt test uses the actual separator and config C API, including close/reopen of user.ini, rather than asserting a mocked cache decision.
frontend: remember deliberate dock separator resizing (#3740)
zackees commentedon Nov 7, 2026
Fixed on master by #3796. The frontend clamp-safe snapshot was treating a deliberately minimum-width dock as a squeezed window and saving an older arrangement. Completed separator edits now replace that snapshot; automatic window clamping and no-op clicks retain the protection from #2225.
The RED regression reproduced lost width and height through the production Qt helper and config safe-save/reopen path. After the fix, all three new cases and nine unchanged proportion cases pass. The real hybrid frontend also passed three fresh processes under Xvfb: Controls narrowed 478→206 px, bottom docks grew 216→366 px, and all five dock sizes restored exactly after normal quit/restart. Hosted PR and merge-queue checks passed. This was checked on Linux/X11 under Xvfb; Hyprland/Wayland and third-party docks were not directly exercised.
frontend: save deliberate dock resizing at minimum width (obs-rust#3740…
16 remaining items
test: clang-format the moved and floated docks case (#3740)
vpacher commentedon Nov 13, 2026
Claiming: #3740 (the tiling window manager case, continuing my takeover comment above). PR: #4841, now in the merge queue. A fix for anything the retest finds follows in a new PR.
vpacher commentedon Nov 13, 2026
The fix is now on master (#4841, 1d8b65e): when the window grows after the start, as it does under a tiling window manager, OBS restores the saved dock layout again. Could you check it with the next
obs-studio-rust-gitbuild? If a dock still loses its size after a restart, a fix for that follows in a new PR. If it works, I will close this issue.zackees commentedon Nov 18, 2026
Landed on master in #4841 (1d8b65e); verified the merge is an ancestor of origin/master and frontend/utility/dock-proportions.hpp exists there.
alerque commentedon Nov 19, 2026
Closing human reported issues based on LLM testing is something you should configure your agents to STOP DOING.
I just rebuilt and updated to check this situation prior to an event tonight, and the issue has seriously regressed. I'm going to open a new issue, this is just a pointer for anybody landing here.
frontend: keep a dock change that comes with a window resize (obs-rus…
test: dock layout cases under a floating and a tiling window manager …
test: obs-dock-layout model, RED against stubs (Refs #5230)
frontend: restore the dock layout again when the window grows after t…
frontend: obs-dock-layout, the dock layout model (Refs obs-rust#5230) (…