Repository navigation
frontend: open the Missing Source Types warning without blocking startup (#2161) - #2166
Merged
Merged
Conversation
Member
Author
|
End-to-end check: release workflow dispatched on this branch with verify_only=true (publishes nothing): https://github.com/obs-rust/obs-studio/actions/runs/40102085080. |
Member
Author
|
Release verify_only run 40102085080 on this branch: |
This was referenced Oct 24, 2026
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 #2161.
Cause (the issue's diagnosis was off)
The zip still contains
vcruntime140.dll: the release run'szip ok, and all four packaged launches (fresh,migrate-default,migrate-custom,existing) passed. Theimports vcruntime140.dllerrors come from the step's deliberate mutation (delete the runtime from a copy of the zip, require the check to reject it), which worked.What failed is the next deliberate mutation: remove
win-dshow.dll, start the package with the saved profile, and expectcapture plugins are missing ... dshow_input. InsteadGetInputKindListtimed out: the frontend never became ready.#1883 (0deb926) added a Missing Source Types warning shown with
OBSMessageBox::warning(), a modalexec(), from insideLoadData(). With a source type missing, the main thread sits in that dialog before OBS finishes loading, so obs-websocket never leaves NotReady. Upstream's Missing Files dialog, shown from the same place, is deferred withQTimer::singleShot(0, ...)and opened withshow().The last release run that executed this check passed on 582a4c3, before #1883; the runs between skipped it.
Fix
ShowMissingSourceTypes()still logs every missing type and still stays quiet in safe mode. It now opens the same warning (title, text, OK button) after the current event, non-modal, deleted on close.Tests
ci/test_missing_source_types_dialog.py(no nested modal loop; opens after loading and frees itself; logging and safe mode kept): 2 failures, 1 error. End-to-end RED: release run 40097160881,Launch packaged Windows x64/arm64../lintpasses. The real proof is the packaged launch withwin-dshow.dllremoved, which runs in the release workflow; I'll dispatch it on this branch.