test(app): Arabic shell, toasts, chrome names and paddings; RTL captures are drawn mirrored

- Smoke tests: the main window opens mirrored when Arabic is applied before it exists, directional icons
  follow while other glyphs, the logo, the preview surface and the charts do not; the shell behind the
  first-run dialog is disabled; toasts draw, are named and close after their action; caption buttons,
  the job bar and the pause button have names; text boxes pad once.
- --capture draws right-to-left windows through the window's mirror, as the Uploader and Setup do.
- DESIGN §5 states the directional icon rule and the left-to-right islands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-06 08:10:36 +00:00
1 parent 1757a5b9e9
commit 739d51eb7e
3 files changed
+148 -5

No files matched your search

+6 -1
View File
@@ -84,7 +84,12 @@ Label column left of controls: 116 px in panels, 180 px in Settings.
16 px, 1.5 px strokes, round caps and joins, `currentColor`, drawn as `PathGeometry` /
`DrawingImage` resources in `Titano.App/Icons/Icons.xaml` (source SVGs in `branding/ui-icons/`
if generated by a tool). No icon fonts, no emoji in shipped UI (the mockups use a few glyphs
only as placeholders: replace ⟳ ▾ ✕ ■ ❚❚ ≡ with drawn icons). Directional icons mirror in RTL.
only as placeholders: replace ⟳ ▾ ✕ ■ ❚❚ ≡ with drawn icons). Directional icons mirror in RTL:
`IconData.IsDirectional` marks the glyphs that point along the reading direction (back/forward, chevrons
left/right, external link, start-aligned lines); `ui:Bidi.IsDirectional` overrides it for a subtree (a ▶ used
as "next", a chevron on a left-to-right time axis). Every other glyph (clocks, media controls, the ▶ rendered
status) and the brand mark keep their drawn orientation. Photos, previews, charts, numbers, paths and
templates are left-to-right islands (`FlowDirection="LeftToRight"` on the smallest element holding them).
## 6. App icon (`branding/`)