From 79948c8af64ff9171d420eac7d646873d8fb4543 Mon Sep 17 00:00:00 2001 From: Ryan Doupe Date: Mon, 26 Oct 2026 14:56:59 -0400 Subject: [PATCH] obs-browser: Create docks after layout restore Move plugins/obs-browser from 63fd678 to the obs-rust/obs-browser fix that defers a browser dock's first Init() to the next event loop pass (bd22ab8; to be replaced by its merge commit on obs-browser master). On Windows, OBS crashed at startup when a browser dock, usually the Twitch Chat dock, had been closed before OBS quit: while the saved dock layout was restored, Qt showed the dock and closed it again, and the browser was created in between. Port of upstream obs-browser PR 554; the upstream report is OBS Studio issue 14088. Linux does not reproduce it: OBS restores the layout before the main window is shown, so a dock saved closed is never shown at startup. Fixes #2524. Co-Authored-By: Matt Gajownik --- docs/features.md | 8 ++++++++ plugins/obs-browser | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/features.md b/docs/features.md index ec6aa1da7e..361f549b76 100644 --- a/docs/features.md +++ b/docs/features.md @@ -2218,6 +2218,14 @@ area. after the browser has finished handling them. *macOS*, pending merge. Issue [#2523](https://github.com/obs-rust/obs-studio/issues/2523), upstream [obsproject/obs-studio#14072](https://github.com/obsproject/obs-studio/pull/14072). +- OBS no longer crashes at startup when a browser dock (most often the + Twitch Chat dock) was closed before OBS quit: the dock creates its + browser after the saved dock layout has been restored, not in the + middle of it. *Windows*, pending merge. Issue + [#2524](https://github.com/obs-rust/obs-studio/issues/2524), PR + [obs-rust/obs-browser#13](https://github.com/obs-rust/obs-browser/pull/13), upstream + [obsproject/obs-studio#14088](https://github.com/obsproject/obs-studio/issues/14088), + [obsproject/obs-browser#554](https://github.com/obsproject/obs-browser/pull/554). ### Security hardening diff --git a/plugins/obs-browser b/plugins/obs-browser index 63fd6780e1..bd22ab86c6 160000 --- a/plugins/obs-browser +++ b/plugins/obs-browser @@ -1 +1 @@ -Subproject commit 63fd6780e1d6fa36b0676060950a0342ee6e5715 +Subproject commit bd22ab86c6fed6fbd748514f75be40bdde41ed35