Repository navigation
frontend: Log output starts refused while outputs are disabled - #818
Merged
Merged
Conversation
Member
|
Rebased onto master, set
|
zackees
force-pushed
the
fix/output-start-log
branch
from
October 15, 2026 09:07
cb6c799 to
555b3e3
Compare
zackees
enabled auto-merge
October 15, 2026 09:07
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 15, 2026
Member
|
Rebased onto master again (it conflicted after #816/#810 touched the same frontend files), resolved by keeping both sides, and re-stamped the local gate; re-queued.
|
zackees
force-pushed
the
fix/output-start-log
branch
from
October 15, 2026 12:05
555b3e3 to
8bd2da0
Compare
zackees
enabled auto-merge
October 15, 2026 12:05
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 15, 2026
Call LogOutputStartRefused() (frontend/utility/output-start-log.hpp, free of Qt) where StartStreaming, StartRecording, StartReplayBuffer and StartVirtualCam return because the outputs are disabled, and add test_output_start_log. The helper does nothing yet: no change in behaviour. RED for obs-rust#817: both cases fail, because no warning is logged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
While the Settings dialog or the auto-configuration wizard is open, the frontend disables the outputs and drops a start of streaming, recording, the replay buffer or the virtual camera. Nothing showed this: obs-websocket replies success to the start request, and no event or log line followed. Log a warning that names the output and the reason. No other change in behaviour; no protocol change. GREEN for obs-rust#817. Co-Authored-By: Claude Opus 5.5 <[email protected]> Local-Gate: v1 tree=2c0e9844d584a1b90dc379d608517d1ba790fce3 secs=1376 lanes=lint:run,rust-test:reused@b439b6bb8e93,cross:reused@ab678a7180dc,tier2-linux:run Ci-Attestation: {"at":1792071803,"gate":"rust/all/fmt","host":"linux-x86_64","key":"b014377a6fc7588c9d40d0b09b4a1ee2330e1e3722b57d4408867b1ad78486ee","lane":"lint","parents":["501ee59d0fc08d6917a1caad7a39f36aa4e4ad75"],"secs":58,"stamp":"5b3ca3a9f3d345e1736126999deb1c00","tree":"2c0e9844d584a1b90dc379d608517d1ba790fce3","v":1,"via":"run"} Ci-Attestation: {"at":1792071803,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"b014377a6fc7588c9d40d0b09b4a1ee2330e1e3722b57d4408867b1ad78486ee","lane":"lint","parents":["501ee59d0fc08d6917a1caad7a39f36aa4e4ad75"],"secs":58,"stamp":"759717afe40fd37a173a7e585e4047c8","tree":"2c0e9844d584a1b90dc379d608517d1ba790fce3","v":1,"via":"run"} Ci-Attestation: {"at":1792067595,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"b439b6bb8e93d470e14a03d649bc23f7eaf68584c1ca2d2ea0ae5f94c9c3850e","lane":"rust-test","parents":["501ee59d0fc08d6917a1caad7a39f36aa4e4ad75"],"secs":null,"stamp":"110f78cbf432d7ab96ea2841984d54e5","tree":"2c0e9844d584a1b90dc379d608517d1ba790fce3","v":1,"via":"reused"} Ci-Attestation: {"at":1792067595,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"ab678a7180dcb94814b99979da516000b7c5ef3a99bec31bcafe71005b209895","lane":"cross","parents":["501ee59d0fc08d6917a1caad7a39f36aa4e4ad75"],"secs":null,"stamp":"f13a28eb6292b69e1784801b66fc1416","tree":"2c0e9844d584a1b90dc379d608517d1ba790fce3","v":1,"via":"reused"} Ci-Attestation: {"at":1792067595,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"ab678a7180dcb94814b99979da516000b7c5ef3a99bec31bcafe71005b209895","lane":"cross","parents":["501ee59d0fc08d6917a1caad7a39f36aa4e4ad75"],"secs":null,"stamp":"1176876a6c8205a0a5cd6b78e439f163","tree":"2c0e9844d584a1b90dc379d608517d1ba790fce3","v":1,"via":"reused"} Ci-Attestation: {"at":1792067595,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"ab678a7180dcb94814b99979da516000b7c5ef3a99bec31bcafe71005b209895","lane":"cross","parents":["501ee59d0fc08d6917a1caad7a39f36aa4e4ad75"],"secs":null,"stamp":"c34da226b8daf4194f022917b5647652","tree":"2c0e9844d584a1b90dc379d608517d1ba790fce3","v":1,"via":"reused"} Ci-Attestation: {"at":1792067595,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"ab678a7180dcb94814b99979da516000b7c5ef3a99bec31bcafe71005b209895","lane":"cross","parents":["501ee59d0fc08d6917a1caad7a39f36aa4e4ad75"],"secs":null,"stamp":"0e3bafc75493a41da3981730dca1996b","tree":"2c0e9844d584a1b90dc379d608517d1ba790fce3","v":1,"via":"reused"} Ci-Attestation: {"at":1792067595,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"ab678a7180dcb94814b99979da516000b7c5ef3a99bec31bcafe71005b209895","lane":"cross","parents":["501ee59d0fc08d6917a1caad7a39f36aa4e4ad75"],"secs":null,"stamp":"4d4cfea47dfc96773ccfc0a3bdfeb79a","tree":"2c0e9844d584a1b90dc379d608517d1ba790fce3","v":1,"via":"reused"} Ci-Attestation: {"at":1792067595,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"ab678a7180dcb94814b99979da516000b7c5ef3a99bec31bcafe71005b209895","lane":"cross","parents":["501ee59d0fc08d6917a1caad7a39f36aa4e4ad75"],"secs":null,"stamp":"a4f068112b3fbd01ba9b99064a6ce86c","tree":"2c0e9844d584a1b90dc379d608517d1ba790fce3","v":1,"via":"reused"} Ci-Attestation: {"at":1792071803,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"f0c54ba4565245327267eaba0a768b20601831c889707a36d6e6fdc06e7a0c33","lane":"tier2-linux","parents":["501ee59d0fc08d6917a1caad7a39f36aa4e4ad75"],"secs":1317,"stamp":"6be84453cce5cc8e84aa1622d1719ef6","tree":"2c0e9844d584a1b90dc379d608517d1ba790fce3","v":1,"via":"run"}
Member
|
Rebased onto master again: #810 merged and touched the same frontend files, so this conflicted and left the merge queue. Resolved by keeping both sides; local gate re-stamped; re-queued.
|
zackees
force-pushed
the
fix/output-start-log
branch
from
October 15, 2026 13:43
8bd2da0 to
91b6f23
Compare
zackees
enabled auto-merge
October 15, 2026 13:43
3 of 7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #817
What and why
While the Settings dialog or the auto-configuration wizard is open, the frontend disables the outputs, and
StartStreaming(),StartRecording(),StartReplayBuffer()andStartVirtualCam()return without doing anything. Nothing showed this: obs-websocket replies success to the start request (the frontend API only queues the start), and no event or log line followed. On an unattended host, where nobody sees the dialog (#815), this is very hard to diagnose.This PR logs a warning at the four early returns, for example:
Recording not started: outputs are disabled while the Settings dialog or the Auto-Configuration Wizard is openThe message is built in a new Qt-free header,
frontend/utility/output-start-log.hpp(LogOutputStartRefused()). No other change in behaviour; no protocol change. Reporting the refusal to websocket clients (an error status or an event) would be a protocol change and is not part of this PR.RED → GREEN
test_output_start_loginstalls a log handler and calls the helper: 2 of 2 fail (no warning is logged).End-to-end check (not part of CI), on Debian 13, headless: with the Settings dialog open, a websocket
StartRecordreplies success, nothing is recorded, and the log now has the warning above. After the dialog is closed,StartRecordrecords.Checklist
master(or the description starts with a Stacked: note)-W..., ratchets): noneNotes:
./lintand the local gate were not run.frontend/cmake/ui-utility.cmakeat the same place (afterutility/crash-sentinel-dir.hpp). Whichever merge later need a trivial rebase (keep all lines); I will do it.🤖 Generated with Claude Code