Skip to content

chore(automation): Sync master → release/stable/7.0 - #26026

Merged
agneszitte merged 143 commits into
release/stable/7.0from
automation/master-sync/release/stable/7.0
Nov 5, 2026
Merged

agneszitte merged 143 commits into
release/stable/7.0from
automation/master-sync/release/stable/7.0

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Automated sync — merges the latest master into release/stable/7.0.

  • Incoming commits from master: 141

  • Range: 1deb5c3d0f..ab9aef9d41

  • Merge method: merge commit (preserves ancestry so future syncs stay minimal)

  • Release stabilization: master PRs excluded from this branch (recorded as merged, changes dropped): Version bump after 7.0 release branch #25994

  • Auto-merge: enabled — lands once required CI is green and a reviewer approves.

Included PRs (30)

Maintained automatically; updates in place. Generated by this run.

egarim and others added 30 commits September 3, 2026 01:06
Adds an Accessibility/ subsystem to Uno.UI.Runtime.Skia.X11 that publishes
the automation peer tree on the AT-SPI accessibility bus:

- AtspiServer: a11y-bus discovery (org.a11y.Bus.GetAddress), Socket.Embed
  registration, and a per-node D-Bus handler serving Accessible, Component,
  Application (root), Properties and Introspectable over Tmds.DBus.Protocol.
- X11Accessibility: SkiaAccessibilityBase implementation building AtspiNode
  trees from automation peers (AccessibilityView.Raw elements skipped),
  with coalesced full-tree rebuilds on structure changes.
- AtspiRoleMap: AutomationControlType to AtspiRole id mapping (ids match
  at-spi2-core atspi-constants.h; unmapped types fall back to panel).
- Host wiring mirroring the macOS head: X11XamlRootHost implements
  IAccessibilityOwner, AccessibilityRouter is initialized in
  X11ApplicationHost and activated on FocusIn.

Read path + registration only; live events, the write path and per-node
tree diffing land in follow-up PRs.

Co-Authored-By: Claude Fable 5 <[email protected]>
- Subscribe scroll sources during tree build and on child add, per the
  SkiaAccessibilityBase contract, so descendant bounds refresh on scroll.
- Stop the AT-SPI server instead of leaking the D-Bus connection when the
  window closes during async startup.
- Use the registry null reference for missing children, matching the
  at-spi2-core convention.
- Activate the accessibility router before the focus callback on FocusIn.
- Rename the mislabeled WindowLayer constant (value 3 is ATSPI_LAYER_WIDGET),
  hoist the application role id into AtspiRoleMap, type the bare catch.

Co-Authored-By: Claude Fable 5 <[email protected]>
…0.92

Runtime-proven against a headless AT-SPI stack (Xvfb + at-spi2-core): the
bridge now registers on the accessibility bus and serves the live tree to an
external client.

- WriteReference took the MessageWriter (a ref struct) by value, so the (so)
  struct writes mutated a copy and the Embed body went out empty; the daemon
  saw a body/signature mismatch and closed the connection. Pass the writer by
  ref (and inline the struct write where the writer is a using-variable).
- Embed via the non-generic CallMethodAsync with the root parent set directly,
  matching the reference implementation; the reply is not needed.
- Register the node handler at /org/a11y/atspi so post-Embed registry callbacks
  on sibling paths get a well-formed reply; 0.92 tears the connection down on
  an unhandled incoming call.
- Wrap incoming dispatch in try/catch so a malformed client request can never
  propagate and drop the whole connection.

Co-Authored-By: Claude Fable 5 <[email protected]>
…vents, write path

Brings the X11 accessibility backend to behavioral parity with the macOS and
WASM Skia heads. Runtime-proven against a headless at-spi2 stack: an external
AT-SPI client reads enriched state, writes through the accessibility bus, and
receives live signals.

- Enriched AtspiNode from AriaMapper.GetAriaAttributes + automation providers
  (toggle/range/value/text/expand/selection), plus heading/landmark/required/
  position-in-set; coordinates via absolute visual offset; labels via the shared
  ResolveLabel.
- Serve the full interface set per capability: Action, Value, Text, EditableText,
  Selection (in addition to Accessible/Component/Application), with a matching
  richer GetState and GetInterfaces, and Action.NActions exposed as a property.
- Write path: AtspiServer.IWriteTarget implemented by X11Accessibility, driving
  the real control through its provider on the UI thread (invoke/toggle/set-value/
  set-text/select-child).
- Live events: the base class Update*/SetNativeFocus/child callbacks now emit
  AT-SPI StateChanged / PropertyChange / SelectionChanged / children-changed
  signals; focus is tracked for the focused state.

Proven: EditableText write read back through Text; Value set read back; Action
do_action('click'); state-changed/property-change signals observed on the bus.

Co-Authored-By: Claude Fable 5 <[email protected]>
Both reviewers (kimi APPROVE, DS REQUEST CHANGES) plus runtime re-proof:

- BLOCKER: write-path lookups ran on the D-Bus reader thread against a
  Dictionary mutated on the UI thread. Publish an immutable element snapshot
  (volatile swap, mirroring the node-tree snapshot) and read that instead.
- Reflect Offscreen in GetState (showing/visible only when on-screen).
- Serve the Accessible Description property from the node.
- Add ATSPI_STATE_READ_ONLY / REQUIRED in the second state word so the state
  set matches the signals emitted for them.
- List/container items (ListViewItem/ListBoxItem) surface as selectable via the
  AriaMapper Selected fallback, not only the SelectionItem pattern.
- ComboBox advertises its selected text through the Text interface.
- Restore focus to the fresh node after a tree rebuild.
- Drop combo data-item nodes (Handle 0) from the handle maps; remove the unused
  EmitChildrenChanged child parameter and dead ReplyEmptyDictionary; make the
  new AtspiNode members properties.

Co-Authored-By: Claude Fable 5 <[email protected]>
Add the window's screen origin (AppWindow.Position, from the X11 root-relative
XTranslateCoordinates the window wrapper already computes) to each node's
client-space offset, so GetExtents/GetPosition return true screen coordinates.
Runtime-proven: with the window moved to (300,200), a control at client (284,4)
reports screen extents (584,204).

Co-Authored-By: Claude Fable 5 <[email protected]>
…leak

From the automated PR review:
- ComboBox items are enumerated only while the dropdown is open (with the
  selected value always exposed as text), instead of eagerly walking Items on
  every rebuild — a large/virtualized ItemsSource would otherwise materialize.
- Close the startup/disposal race: _server assignment (D-Bus continuation
  thread) and DisposeCore (UI thread) now share a lock, so a server that starts
  as the window closes is always stopped rather than leaked.
- DisposeCore resets the published element snapshot, so UIElements are not
  retained after the window closes.

Co-Authored-By: Claude Fable 5 <[email protected]>
When a ToolTip opened, it was added to the popup panel and its parent
was then reset to what it was before, which is null for a tooltip set
through ToolTipService. Layout invalidations from the tooltip content
walk the parent chain to reach the layout root, so they stopped at the
tooltip: an Image whose bitmap arrived after the tooltip opened kept
its measure-dirty flag and stayed blank until the tooltip was opened
again and measured from scratch.

The tooltip now stays parented to the popup panel while it is showing
and leaves it when it closes. The parent was reset to keep the panel's
DataContext from replacing the one the owner provides through
ToolTipService.ToolTip, so that value is re-applied after parenting and
the owner's DataContextChanged is forwarded while open.

Fixes #24557
Popup.Child sets the logical parent override, so the public Parent is
the popup after the first open and the actual parent must drive the
attach. The owner DataContext is read before joining the popup panel,
whose own DataContext is inherited on parenting.
- Text/EditableText/CharacterCount treated AT-SPI character offsets as
  UTF-16 indices, so astral characters (surrogate pairs) skewed counts
  and partial operations could split a pair: 'A\U0001F600B' reported
  CharacterCount=4 and DeleteText(1,2) produced a lone low surrogate.
  Offsets are now mapped code-point -> UTF-16 (Utf16Index/CharacterCount
  helpers, clamping at the ends, never splitting pairs).
- GetPosition/GetSize replied '(ii)' (a struct); Component.xml declares
  two separate out arguments, so the reply signature is now 'ii'
  (GetExtents keeps its declared '(iiii)' struct).

Verified: project compiles; the offset mapping is covered by a
standalone check reproducing the review's probe (count=3, GetText(1,2)
returns the intact emoji, DeleteText(1,2) yields 'AB', insert at
character 2 lands after the pair, offsets past the end clamp).

Addresses the 2026-09-14 review (P1, P2).

Co-Authored-By: Claude Fable 5 <[email protected]>
Resolves X11XamlRootHost.cs (keep master's IX11Renderer + this branch's
accessibility members and master's BackgroundColor) and implements the
new SkiaAccessibilityBase.UpdateRoleDescription abstract member as a
no-op, matching Win32Accessibility.

Co-Authored-By: Claude Fable 5 <[email protected]>
Introspect hardcoded '<node/>' for every node, so clients doing dynamic
discovery saw an empty interface list despite the object serving
Accessible/Component/Action/Value/Text/etc. The interface set now comes
from one InterfaceNames helper shared with GetInterfaces, so the two can
never disagree; the introspection XML additionally lists Properties and
Introspectable.

Co-Authored-By: Claude Fable 5 <[email protected]>
Every rebuild reset _nextPath and reassigned paths in DFS order, so a
client holding a cached object reference could silently resolve to a
different control after any tree change — including routing a write to
the wrong element. Paths are now allocated once per element identity
(Visual.Handle) in maps that persist across rebuilds; data-only combo
items (no container element) key on the owning combo's handle plus item
index. The maps are only cleared on dispose.

Co-Authored-By: Claude Fable 5 <[email protected]>
- ChildrenChanged now carries the child reference as a variant of (so),
  written as an explicit signature plus struct — the same shape the
  Parent property reply already used, disproving the assumed
  Tmds.DBus.Protocol 0.92 limitation the old comment cited.
- Selection: GetNSelectedChildren counts every selected child and
  GetSelectedChild indexes into the selected set (multi-select lists);
  the SelectChild write path drives non-ComboBox containers through the
  item's own ISelectionItemProvider.
- Contains/GetAccessibleAtPoint honor the coordinate-type argument:
  window-relative input points shift by the application root's origin.
- The screen origin refreshes on AppWindow position changes
  (ConfigureNotify via NativeWindowWrapperBase), shifting published
  bounds instead of leaving them at the old location until a rebuild.
- Bounds are published in physical pixels: XamlRoot.RasterizationScale
  applied to visual offsets/sizes (window origin was already physical).
- Offscreen initializes from Visual.IsVisible at build time.
- Description/HelpText changes emit accessible-description PropertyChange.

Co-Authored-By: Claude Fable 5 <[email protected]>
- OnChildAdded/OnChildRemoved queued the coalesced rebuild but emitted
  ChildrenChanged immediately, so a client re-fetching children on the
  signal observed the stale tree (and no second signal followed). The
  emit now rides the same UI-thread queue behind the rebuild.
- Contains/GetAccessibleAtPoint also translate ATSPI_COORD_TYPE_PARENT
  input points (enum value 2 at the pinned at-spi2-core commit).

Co-Authored-By: Claude Fable 5 <[email protected]>
GetAll always replied an empty dictionary, so clients that snapshot
properties per interface (libatspi caching) saw nothing despite Get
serving every value. Get and GetAll now share one WritePropertyValue
switch, keyed by the requested interface and gated on the node's
capabilities, so the two can never disagree.

Co-Authored-By: Claude Fable 5 <[email protected]>
Issues found running the bridge against Orca 46 and libatspi:

- ComboBox with no selection threw in every tree build, freezing the tree.
  Its text now mirrors what the faceplate shows (SelectionBoxItem is only
  set in inline mode); SelectChild commits by closing the dropdown.
- Bounds ignored scroll offsets and the window frame. They now come from
  GetGlobalBoundsWithOptions plus the client-area origin
  (XTranslateCoordinates); "showing" follows the clipped bounds.
- The bridge only runs while org.a11y.Status IsEnabled/ScreenReaderEnabled
  is set, and starts or stops as it changes (NO_AT_BRIDGE=1 opts out).
- The window is a frame under the application, with "active" state and
  window:activate/deactivate, so screen readers find the active window.
- Text: caret, word/line segmentation, selection, attributes, extents;
  text-changed and text-caret-moved events, the change sent before the
  caret move (Orca's word echo depends on it). TextBlocks expose read-only
  text; PlaceholderText is the placeholder-text attribute, not a
  description.
- Unknown properties return D-Bus errors instead of an empty string.
- Roles and states: heading, landmark, toggle button, modal dialog
  (ContentDialog), indeterminate, checkable; PopupPanel is flattened.
- Live regions and notifications are announced (object:announcement).
- Events follow Event.xml (siiva{sv}); children-changed carries the real
  index; no un-focus for dropped nodes; text value changes deduplicated.
- NotifyInvalidatePeer calls the base; CA1305 and IDE0055 fixed.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
One page per screen-reader capability: labels and descriptions, toggles,
ranges, lists, expanders, form validation, live regions, notifications,
a dialog, landmarks and hidden content. Each section states what a
screen reader should announce, for manual testing on every head.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The bridge already follows org.a11y.Status; a separate environment
switch is not needed.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The tooltip tests closed their popups in finally but left their owner as the
window content, so the visual tree outlived the test.
The owner's DataContextChanged and ActualThemeChanged were subscribed on
open and unsubscribed on close through the container and the anchor,
which are read again each time. When the tooltip is set on another
element while it is open, both change in between, so closing unsubscribed
from the new element and left the handlers on the first one for good: it
kept writing its DataContext into the tooltip even after the tooltip was
removed from it. Keep the elements that were subscribed and unsubscribe
from those.
Since the popup lets go of the tooltip on close, every open assigns
Popup.Child afresh, and the popup adds its child to the popup panel and
removes it again, which sets and clears the tooltip's parent. The explicit
SetParent calls and the guard around the Popup.Child assignment no longer
did anything.
The closed tooltip gets its owner's DataContext changes from
ToolTipService.ToolTip's default metadata (ValueInheritsDataContext), and
the parity of forwarding them while open rests on WinUI's behavior rather
than on its source, which has no such handler: the DataContext tests run
on native WinUI and pass there. Say both where they apply.
On native WinUI the popup lets go of the tooltip only once the Closed
visual transition has played (ToolTip::Close runs when its storyboard
completes), so When_Closed_Then_Parent_Cleared failed there right after
WaitForIdle. Wait for the parent to clear instead; Uno releases it as soon
as the tooltip closes.
MartinZikmund and others added 18 commits November 5, 2026 09:48
The paint and shadow recordings finished with their save still open, so
the WebGPU recorder never returned their stacks to the pool.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TXMNty3tQcrabJckBifzTY
The job asked for the xcode-27 image without naming the GitHub-hosted Agents pool, so it never got an agent and every master build failed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TXMNtyBVZWdemP5ouF7UUA
fix(ci): Give TestFlight the xcode-27 agent pool
docs: note the Uno version of linked samples
chore(docs): External Docs Update - master
test(shell): Let the browser pane open before closing it
…-revision

fix(sdk): Use the WinRT.Runtime 2.3 projection on Windows targets
…-size

fix(android): Read the SAF file size as a long
…dows-platform-version

fix(sdk): Accept the Windows platform version of the target framework
…actions/setup-dotnet-6.1.0

chore(deps): bump actions/setup-dotnet from 5.3.0 to 6.1.0
…box-math-wasm-flake

test: Compare math script baselines, not box tops
…erseded-flake

test(imaging): Hold the superseded stream's decode in its test
…-close

fix(tooltip): Let go of a ToolTip in the service when it closes, however it closed
perf(wasm): Cheaper record phase for WebGPU and Skia
…ilist-add

fix: prevent recursive IList.Add in ObservableVector
…-races

test(a11y): Stop two Android accessibility tests racing their setup
@github-actions
github-actions Bot force-pushed the automation/master-sync/release/stable/7.0 branch from 5f336bb to 0b9d095 Compare November 5, 2026 14:27
@github-actions
github-actions Bot enabled auto-merge November 5, 2026 14:27
MartinZikmund and others added 3 commits November 5, 2026 16:07
fix(textbox): Keep backward selection on Android IME echoes; unblock Android CI
Records 'Merge pull request #25994 from unoplatform/unobot/master/release-bump-after-7.0' as merged without its changes.
@github-actions
github-actions Bot force-pushed the automation/master-sync/release/stable/7.0 branch from 0b9d095 to 7bf5b96 Compare November 5, 2026 15:17
@github-actions
github-actions Bot enabled auto-merge November 5, 2026 15:17
@unodevops

Copy link
Copy Markdown
Contributor

@agneszitte
agneszitte merged commit 327f461 into release/stable/7.0 Nov 5, 2026
67 of 76 checks passed
@agneszitte
agneszitte deleted the automation/master-sync/release/stable/7.0 branch November 5, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

master-sync Automated master→feature sync PR 🤖 Project automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.