Skip to content

appimage: test-appimage.sh finds the "OBS Studio Rust" main window (#2162) - #2168

Merged
zackees merged 2 commits into
masterfrom
fix/appimage-window-title
Oct 24, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/appimage-window-title

Conversation

@zackees

@zackees zackees commented Oct 24, 2026

Copy link
Copy Markdown
Member

Fixes #2162

#1985 retitled the main window "OBS Studio Rust " (#1983). Before that it was GetProductString(false), "OBS-Studio-Rust ". test-appimage.sh's first-start check matched windows with "OBS-Studio-Rust|\"OBS [0-9]|"obs", so it never found the new title. WINDOW_FOUND stayed 0 and no screenshot was taken, so both no OBS window ever appeared and screen stayed blank were reported, on every distro, in the first scheduled release after #1985 merged (run 40097160881). The saved-profile scenarios check readiness over obs-websocket, not the window, so they kept passing.

The window tree in that log looked empty only because the test prints xwininfo -tree -root | head -40. IceWM's frame windows fill those 40 lines before the reparented main window appears.

  • RED (commit 1): ci/test_appimage_window_title.py extracts the pattern from the script and runs it on an xwininfo line for each title in test_product_title.c. It fails with '"OBS-Studio-Rust|\\"OBS [0-9]|"obs"' does not match '... "OBS Studio Rust 0.1.0-beta.20261024": ("obs-studio-rust-gui" ...'.
  • GREEN (commit 2): the pattern also accepts "OBS Studio Rust. The WM_CLASS and _NET_WM_PID ownership checks that follow are unchanged.

./lint passes (it runs every ci/test_*.py). The release workflow re-runs the AppImage tests on the next scheduled run. This doesn't touch #2161 (the Windows empty-profile timeout), which has a different cause.

…2162)

#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 #2162
@zackees
zackees enabled auto-merge October 24, 2026 14:23
@zackees
zackees added this pull request to the merge queue Oct 24, 2026
Merged via the queue into master with commit aa321a9 Oct 24, 2026
30 checks passed
@zackees
zackees deleted the fix/appimage-window-title branch October 26, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

release: AppImage first-start scenarios fail: no OBS window appears, screen stays blank

1 participant