Repository navigation
appimage: test-appimage.sh finds the "OBS Studio Rust" main window (#2162) - #2168
Merged
Merged
Conversation
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 #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_FOUNDstayed 0 and no screenshot was taken, so bothno OBS window ever appearedandscreen stayed blankwere 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.ci/test_appimage_window_title.pyextracts the pattern from the script and runs it on anxwininfoline for each title intest_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" ...'."OBS Studio Rust. The WM_CLASS and _NET_WM_PID ownership checks that follow are unchanged../lintpasses (it runs everyci/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.