Skip to content

fix(ax): exclude com.apple.InputUI from snap.front and rank-0 spaces - #17

Merged
Apdelrahman1911 merged 1 commit into
mainfrom
fix/exclude-inputui-from-front
Dec 6, 2026
Merged

Apdelrahman1911 merged 1 commit into
mainfrom
fix/exclude-inputui-from-front

Conversation

@Apdelrahman1911

Copy link
Copy Markdown

Excludes com.apple.InputUI (iOS's out-of-process software keyboard host) from snap.front and rank-0 spaces in tools/launcher/core/src/ax.rs while keeping its elements in layer == "app" (so snap.overlay remains false and keyboard role: "key" elements remain accessible).

Previously, because ask_fg records replies in arrival order and fronts.sort_by_key ties active processes on iPhone, tiny native UIKit com.apple.InputUI regularly answered faster than Compose/Skiko apps and raced into snap.front[0], causing scope="active" snapshots and secure-field redaction in callers to drop all real app nodes.

Adds mock-socket regression test ax::tests::inputui_never_wins_front_over_active_app.

@Apdelrahman1911
Apdelrahman1911 merged commit 5f08636 into main Dec 6, 2026
4 checks passed
@Apdelrahman1911
Apdelrahman1911 deleted the fix/exclude-inputui-from-front branch December 6, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant