fix: traverse deep GTK4 accessibility trees - #86
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.
Summary
get_app_statetool and CLIstatecommandRoot cause
Nautilus 50's GTK4 accessibility tree places its file-list cells well below the old depth-12 cutoff. On the matching Ubuntu 26.04 / GNOME 50.1 / Nautilus 50.0 environment, the old walk stopped after 33 raw nodes and never reached the actionable descendants. The first file cells appear at depth 23, and the complete local tree reaches depth 29 with 606 raw nodes.
The existing GTK4 proxy-destination fix from #31 is working; this was a separate traversal-limit issue. Compaction only had high-level nodes available because the raw walk had already stopped.
Validation
cargo fmt --all -- --checkcargo test --locked --no-fail-fast(237 library tests, 7 helper tests, 1 integration test)cargo clippy --locked --all-targets -- -D warningsscripts/mcp_safety_check.py --binary target/debug/computer-use-linuxnode scripts/zod-check/check.mjs --command target/debug/computer-use-linuxnpm pack --dry-runget_app_statereturned 271 compacted nodes from 606 raw nodes, including 76 named grid cells, with no accessibility errorCloses #85