Repository navigation
Test control: the window screenshot takes the launcher's part of the screen - #555
Merged
Merged
Conversation
…screen xcap's window list leaves out the windows of the process asking, so the launcher's own window was never found and the window screenshot always said it was hidden. It now takes the launcher's part of its screen, from the window's own position and size. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 25, 2026
elripalda
added a commit
that referenced
this pull request
Nov 25, 2026
These five fixes were merged before their review. They come back as fresh pull requests once they've been looked at. Co-authored-by: Ripalda <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
6 tasks done
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.
Requested by Ruben · project thread
What this changes
Found while trying test control (#548) on a real Windows PC with Beta 69: the
screenshottool's window picture always failed with "The launcher's window is minimized or hidden", even with the window shown. The full-screen picture (screen: true) worked.Cause: xcap's window list deliberately leaves out windows of the process asking (reading their titles from their own process can hang), so the launcher never found its own window.
Fix: the window picture now takes the launcher's part of its screen, using the window's own position and size from Tauri, cut to the screen it's on. Only the test control module changes.
How you tested it
cargo test --lib test_controlpasses (34, 4 new for the clipping)cargo check --target x86_64-pc-windows-gnuis cleanChecklist
recomplauncher.jsonGenerated by Claude Code