The desktop Outliner binds outliner.select_all to A (select all), Alt+A
(deselect) and Ctrl+I (invert) through _template_items_select_actions
(blender_default.py); the web tree only carried Ctrl+A. Moving the keys
into the row handler did not help either: react-accessible-treeview owns
the focused li[role=treeitem] wrapper, so row-level keydown handlers never
see the keys that matter. The container now resolves the treeitem with
closest() and handles the three bindings before the row lookup, because
selection acts on the whole tree rather than one row.
The treeview used to record every keydown, including a bare Alt or
Control, as a keyboard-originated selection. The library fires onSelect
again when the controlled selection changes, so that stale tag made the
app send a single-row selection right after the command the user's key
ran, leaving only the focused row selected. Modifier-only presses no
longer record a source. Rows also expose data-selected from the engine
snapshot so the headed case can read native selection truth instead of
the treeview's aria state.
Headed case [outliner-select-keys-web] covers A, Alt+A and Ctrl+I against
the fixture scene; receipt OUTLINER-HEADED-20261130-081320 (NOT_CLAIMED,
8/8). The armature panel regression keeps failing identically with this
batch stashed and stays tracked as pre-existing.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>