Repository navigation
frontend: title the main window "OBS Studio Rust <version>" (#1983) - #1985
Merged
Merged
Conversation
#1983) obs_product_title() is a stub; test_product_title fails all 4 cases: release version, dev version from the newest obs-studio-rust-v* tag, "dev" without a tag, and truncation.
Release builds show OBS_RUST_RELEASE_VERSION; other builds show the newest obs-studio-rust-v* tag from a configure-time git describe as <ver>-dev+<n>-g<sha>, or "dev" without a tag. CMake and the Cargo frontend build both pass the describe string. --version and Help > About keep "OBS-Studio-Rust <ver> (based on OBS <ver>)".
This was referenced Oct 23, 2026
Closed
chriscoveries
pushed a commit
to chriscoveries/obsrust-fork
that referenced
this pull request
Oct 24, 2026
…bs-rust#2162) (obs-rust#2168) * ci: test-appimage.sh must find the "OBS Studio Rust" main window (RED, obs-rust#2162) * appimage: test-appimage.sh finds the "OBS Studio Rust" main window (obs-rust#2162) obs-rust#1985 retitled the main window "OBS Studio Rust <version>"; the first-start check matched only "OBS-Studio-Rust", so it never found the window and the first-start scenarios failed on every distro. Accept both titles. Fixes obs-rust#2162
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.
Refs #1983
The main window title now reads "OBS Studio Rust ", followed as before by
- Profile: … - Scenes: …and the safe-mode and portable-mode suffixes.Commits
37fe49929:test/cmocka/test_product_title.c(registered intest/cmocka/build/test-graph.json) plus anobs_product_title()stub infrontend/utility/product-name.{h,c.h}. Built locally against the stub, all 4 cases fail:release_build_shows_release_version,dev_build_shows_newest_tag_with_dev_suffix,dev_build_without_tag_is_dev,truncates_and_terminates.2c5749515:frontend/utility/product-name.c.hand its PCH.OBSBasic::UpdateTitleBar()calls the helper; the widgets PCH includesproduct-name.h.frontend/CMakeLists.txtrunsgit describeat configure time, andrust/obs-build/src/frontend.rsdoes the same for the Cargo build.docs/features.md.test_product_title4/4 and the unchangedtest_product_name3/3, built with-Wall -Wextra -Werror -Wformat=2../lintpasses.Decisions (as in the claim comment on #1983)
OBS_RUST_RELEASE_VERSIONgives e.g.OBS Studio Rust 0.1.0-beta.20261023.git describe --tags --long --match 'obs-studio-rust-v*'gives e.g.OBS Studio Rust 0.1.0-beta.20261023-dev+78-g4527fbf78. Without git or a reachable tag, the title isOBS Studio Rust dev.--versionand Help > About.#elsebranch unchanged).--versionis unchanged:GetProductString/obs_product_stringare untouched, soasset_metadata.py,test-appimage.shEXPECT_RUST_VERSION,release-rust.yamlandci/test_appimage_assets.pyare untouched too.Not observed in the real app
./native-build buildfails on this host before reaching the frontend:obs-utilneedsgio-2.0, which isn't installed. I couldn't run the app under xvfb, so this PR says Refs and not Fixes. Someone with a working app build should check the title withxprop -root _NET_ACTIVE_WINDOW/wmctrl -lbefore closing #1983.