Repository navigation
Open
Labels
enhancementNew feature or requestpriority:P3issue-tracker board prioritystatus:ready-for-implementerissue-tracker board state
Description
Problem
Chromium re-creates its synthesized table elements, the AXColumn children of an AXTable and the table-header AXGroup, between observations and sometimes during one. When the walk holds an old handle, reading it returns kAXErrorInvalidUIElement (−25202), and the element is lost for that observation.
- On main: a read failure loses one node. Engine: re-created Chromium synthesized nodes (AXColumn, table header) keep their token #303's A/B (run https://github.com/SSFSKIM/cua/actions/runs/42562287610): main failed 6 reads at the second observation on the 20×5 table, on both runners.
- After Engine walk: AXColumn elements themselves wait with rule C's queue, so big Chrome tables don't pay for their cell lists #310, which reads AXColumn elements last: a re-creation during a long walk loses every column of a table that fits the budget, 6 columns plus the header group. This happened in 5 of 108 fitting-table observations, against main's 4 of 108 losing one node each (Engine walk: AXColumn elements themselves wait with rule C's queue, so big Chrome tables don't pay for their cell lists #310's A/B, https://github.com/SSFSKIM/cua/actions/runs/42559947292 and https://github.com/SSFSKIM/cua/actions/runs/42561992545). It's Engine walk: AXColumn elements themselves wait with rule C's queue, so big Chrome tables don't pay for their cell lists #310's stated limit, accepted by the design session (58a9bdf7): the header row's cells still printed in all 5.
Intent
When a deferred or kept column handle reads invalid during the walk, re-list the parent's AXChildren once and read the re-created columns in its place. That costs one children read plus the new columns. It helps main's early reads too.
Constraints
- A bounded re-read: at most one re-list per parent per walk, within the walk's deadline.
- Engine: re-created Chromium synthesized nodes (AXColumn, table header) keep their token #303's token rule still applies to the re-created columns.
- Spike: visible controls under collapsed-frame containers on cut pages (revisit seeding) #304's invariant as amended for Engine walk: AXColumn elements themselves wait with rule C's queue, so big Chrome tables don't pay for their cell lists #310 holds.
- Spawned by Engine walk: AXColumn elements themselves wait with rule C's queue, so big Chrome tables don't pay for their cell lists #310 (also Engine: re-created Chromium synthesized nodes (AXColumn, table header) keep their token #303's residue). No parent. Blocked by Engine: re-created Chromium synthesized nodes (AXColumn, table header) keep their token #303 and Engine walk: AXColumn elements themselves wait with rule C's queue, so big Chrome tables don't pay for their cell lists #310, which must land first.
Success criteria
- In Engine walk: AXColumn elements themselves wait with rule C's queue, so big Chrome tables don't pay for their cell lists #310's A/B fitting-table cells, the branch loses no column on a read failure, across at least 108 observations.
- No walk-time regression on cut tables against Engine walk: AXColumn elements themselves wait with rule C's queue, so big Chrome tables don't pay for their cell lists #310.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestpriority:P3issue-tracker board prioritystatus:ready-for-implementerissue-tracker board state
Activity