fix(desktop): reveal over Windows shell apps - #19
Merged
Bil0000 merged 2 commits intoSep 3, 2026
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.
Windows shell-hosted apps such as Settings can refuse normal foreground activation. The old worker resolved T3 after the capture overlay existed, so it could select the overlay or another process window too late. Three of four recorded Settings attempts spent 976 to 1,190 ms in reveal before activation failed. Reveal failure also stopped the renderer handoff, which left the overlay hanging and prevented the capture from reaching the composer.
Current flow
The intended visible order is:
Windows foreground handling
The UI Automation worker now caches the real T3 element before overlays can affect discovery. The match requires T3's process, exact title, and either its window or content bounds, so Text Input Host and the capture overlay cannot replace the target.
For shell-hosted windows such as Windows Settings, reveal focuses the cached UI Automation element before native HWND activation. If a worker crashes or exceeds its one-second limit, T3 terminates it and creates a new worker for later requests.
If Windows still rejects the complete reveal attempt, T3 sends the capture event without making another reveal call. The capture can persist and attach instead of freezing or disappearing. This fallback protects the data, but Windows may still leave T3 behind in that exceptional case.
Tests
Manual Windows Settings motion verification is in progress on the Dev build.
Created with GPT-5.6 Sol in T3 Code using the Codex harness.