Skip to content

fix(computer): a GTK4 "text box" is a field a task can set - #846

Open
OAraLabs wants to merge 1 commit into
mainfrom
fix/computer-gtk4-text-box
Open

OAraLabs wants to merge 1 commit into
mainfrom
fix/computer-gtk4-text-box

Conversation

@OAraLabs

Copy link
Copy Markdown
Owner

Why

GTK4 reports its text views and entries with the role text box, which the candidate table's editable roles (AT-SPI spellings) did not include. GNOME Text Editor's document offered no set row, so "type into the document" could only abstain.

What

text box joins _EDITABLE_ROLES. cua-driver 0.28.2's set_value lands on it (checked on the rig: the text appeared in the document; approve-once as every set is).

Verification

New test in tests/test_computer_use_typing_target.py (red before, green after); computer-use suites 632 passed; ruff clean.

🤖 Generated with Claude Code

GTK4 reports its text views and entries with the role "text box", which the
candidate table's editable roles (AT-SPI spellings) did not include. GNOME
Text Editor's document offered no set row, so "type into the document" could
only abstain. cua-driver 0.28.2's set_value lands on it (checked on the
computer-use rig: the text appeared in the document).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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