Repository navigation
Conversation
… acts GTK4 exposes a menu button as a "button" (no actions) wrapping a "toggle button" of the same name that carries "click". Both became rows that read alike, so "click the Main menu" tied and the rule chooser abstained; no GTK4 menu button could be clicked by name. A clickable element whose clickable child has the same label is now not offered; the child is. Two unrelated buttons of one name still tie, as before. Found on the isolated computer-use rig (GNOME Text Editor, Files). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Why
GTK4 exposes a menu button as a
buttonwith no actions wrapping atoggle buttonof the same name that carriesclick(GNOME Text Editor's Main menu, Open, View; Files' Current Folder Menu). Both became rows that read alike, so "click the Main menu" tied and the rule chooser abstained: no GTK4 menu button could be clicked by name.What
A clickable element whose clickable child has the same label is not offered; the child is. Two unrelated buttons of one name still tie, as before.
Verification
New
tests/test_computer_gtk4_menu_button_twins.py(2 of 3 red before). Computer-use suites 634 passed; ruff clean. On the rig, "click the Main menu" now opens it (covered by the pick, 459 ms).🤖 Generated with Claude Code