Skip to content

feat(appearance): apply OpenClaw dashboard themes to the Companion - #2218

Closed
paulcam206 wants to merge 3 commits into
openclaw:mainfrom
paulcam206:paulcam206-gateway-themes
Closed

paulcam206 wants to merge 3 commits into
openclaw:mainfrom
paulcam206:paulcam206-gateway-themes

Conversation

@paulcam206

@paulcam206 paulcam206 commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

The Companion can now look like the OpenClaw dashboard. Settings › General › Gateway theme applies any of the dashboard's 11 built-in themes, plus plugin and imported themes read from the connected Gateway, to the Hub, chat, dialogs, flyouts and the desktop companion: colors, UI/chat/code fonts, accent visuals and a tinted Mica backdrop. Windows default keeps today's look, and Windows High Contrast always wins.

Follow Gateway theme (off by default) shows the theme selected in the dashboard instead of the Companion's own choice and switches live when it changes there. The Companion only reads the Gateway's theme catalog (themes.list, themes.get); it never calls themes.set or writes preferences. Built-in palettes come from a table generated from upstream source, so no Gateway change is needed, and the fonts the themes name are bundled under the OFL.

This is the first of three stacked draft PRs; theme branding and a scheduled theme-table sync build on it and link back here. Product code on this head (a97f2fcc) is unchanged since 13691ff3, where the upgrade, High Contrast and validation runs below were taken; a97f2fcc changes only GatewayThemeRestoreTests.cs. The theme gallery is from feb7b394, and the fixes since then (listed under Validation) change restore, startup and accessibility paths, not these live-switched renderings. Light and dark still follow the Windows/App theme setting rather than the dashboard's mode preference; that is a deliberate first step, called out under Compatibility.

What Problem This Solves

The Companion only offers Windows light and dark, so it looks unrelated to the OpenClaw dashboard people use beside it, which ships many themes.

User Impact

User impact: people can give the Companion the same theme as their OpenClaw dashboard, chosen in Settings or followed automatically from the connected Gateway; nothing changes until they pick one.

Why This Change Was Made

  • Themes are read-only data from the Gateway: built-ins from a generated table pinned to an upstream commit, plugin and imported themes from themes.list/themes.get, snapshotted so a chosen theme still renders offline.
  • The applicator recolors the Fluent, App and chat brushes in place (so open windows and running animations update without a restart), swaps the UI, chat and code fonts, and moves app visuals bound to the Windows accent onto the theme's accent ramp. High Contrast dictionaries are never touched.
  • Following the Gateway records the Gateway's selected theme only when the Companion can render it; otherwise the last followed theme, then the manual choice, stays in effect. The selection is published as soon as themes.list returns, before any per-theme definition read.
  • A plugin or imported theme whose text would fall below 3:1 contrast (text on canvas, card and composer; secondary text on canvas and card; text on the primary color) is neither offered nor applied.
Implementation notes
  • OpenClaw.Shared/Themes: wire parsing and validation (GatewayThemeProtocol), palette expansion (ThemePaletteExpander), legibility floor (ThemeLegibility), persisted AppearanceSettings (malformed values fall back field by field), BuiltinGatewayThemes.g.cs from scripts/Update-GatewayThemeTable.ps1.
  • OpenClaw.Tray.WinUI/Theming: GatewayThemeCatalog (connection-scoped, re-read on plugins.changed/users.prefs.changed, at most four definition reads at a time), GatewayThemeFollower, AppThemeApplicator, ThemeResourceProjection, BackdropPolicy (Mica tint and the UI font for standalone dialogs).
  • Themes/TypographyResources.xaml re-declares the Fluent type ramp so every text style takes the theme font. Chat Markdown records whether each element got the body or code font, so a theme that uses one font stack for both cannot turn prose into code after a later switch.
  • The gateway-themes fixture scenario serves a synthetic catalog for UI tests and proof; select <id> changes its reported selection and publishes users.prefs.changed.
  • A second commit records layout-cycle context (theme, focused element, open popups) when WinUI raises LayoutCycleException, so a recurrence leaves evidence.

Evidence

Native Windows 11 guest, fixture Gateway with synthetic content, Companion built from feb7b394, App theme Dark, captured by a UI Automation script (Settings › General, then chat with a running reply):

Windows default Tide Manuscript CRT
Windows default settings Tide settings Manuscript settings CRT settings
Windows default chat Tide chat Manuscript chat CRT chat

Follow Gateway theme, driven by the fixture Gateway's select control (it publishes users.prefs.changed like the dashboard does):

Manual Tide, follow off Follow on (dashboard: Claw) Dashboard switches to a plugin theme Followed theme in chat
Follow off Follow on Claw Switched to Neon Neon chat

Tide with Mica on and off: Mica on, Mica off. Phosphor: Settings, chat.

Upgrade from the latest stable release, on a Windows guest in light mode with the Companion's App theme set to Dark. The stable v2026.11.1 portable build (04f413d2) runs first under the fixture Gateway with an isolated profile and changes App theme and notifications in its own Settings; this head then starts on the profile it wrote, a Gateway theme is picked, and the app restarts:

Stable 2026.11.1 saves App theme Dark, notifications on This head, first launch: both kept, Windows default Manuscript picked After a restart
Stable settings Head first launch Manuscript picked After restart

Settings file fields at each step (values only; the raw file is not published): stable wrote 69 keys with AppTheme=Dark, ShowNotifications=True and no Appearance; this head's first launch left all 69 unchanged; picking Manuscript added only Appearance (Theme=manuscript, FollowGatewayTheme=False, 70 keys); after the restart all values and the theme were intact. The same restart before the startup fix below rendered light controls and unreadable text in the dark window.

High Contrast still wins on a real system switch. With Manuscript applied on that upgraded profile, Windows High Contrast was turned on and off again (SPI_SETHIGHCONTRAST); the before and after shots differ in 0.01% of pixels (a 1 px strip at the window's top edge). Three Windows light/dark switches with the theme applied (AppsUseLightTheme plus the ImmersiveColorSet broadcast) left the window pixel-identical.

Manuscript applied Windows High Contrast on High Contrast off again
Before High Contrast High Contrast on After High Contrast

Change Type

  • Bug fix
  • Feature
  • Refactor
  • Docs or instructions
  • Tests or validation
  • Security hardening
  • Chore or infrastructure

Scope

  • Tray or WinUI UX
  • Windows node capability
  • Local MCP or winnode
  • Gateway, connection, or pairing
  • Setup or onboarding
  • Permissions, privacy, or security
  • Tests, CI, or docs

Required proof pools

  • windows-winui-interactive: theme application changes visible WinUI surfaces (Settings, chat, flyouts, dialogs, backdrop); proven with native UI tests and screenshots on an interactive Windows guest.

Validation

Local build and unit tests on 13691ff3; product code and the Shared and Tray test projects are identical on a97f2fcc:

  • ./build.ps1: all builds succeeded.
  • dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore: 5929 passed, 0 failed, 29 skipped (existing opt-in integration skips)
  • dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore: 6692 passed, 0 failed
  • dotnet test tests/OpenClaw.Tray.UITests -c Debug -r win-x64 --filter "FullyQualifiedName~GatewayTheme|FullyQualifiedName~ChatToolInputSyntaxTests|FullyQualifiedName~ChatThemeProofScope|FullyQualifiedName~ReasoningPicker|FullyQualifiedName~SettingsPageInsetTests|FullyQualifiedName~ChatMarkdown" on the native guest (interactive session, isolated tray profile): 45 passed, 0 failed; GatewayThemeTypographyTests with GatewayThemeRestoreTests 3 of 3 repeated runs passed.
  • On the a97f2fcc test source (guest): GatewayThemeRestoreTests passed with Windows in light mode, in dark mode and with OPENCLAW_UI_TEST_APP_THEME=Dark; the CI soak's 8-test selection passed 3 of 3 runs; AThemeAppliedBeforeAnythingRenders… alone as the first test in a process passed 7 of 7 (light, dark, and 3 runs with four CPU burners).
  • CI on a97f2fcc (run 43588162715): 17 jobs passed, including the UI, functional and accessibility tests, both fixture UI shards, the layout shard and the new-test soak (10 of 10 runs). One job failed: Revocation recovery E2E (WSL Latest), where RealGateway_DeviceRemoval_RecoversThroughSharedTokenReconnect timed out after 60 s running netsh interface ipv4 show dynamicport tcp before any Companion code ran. It passed on this PR's earlier heads. A rerun needs repository admin rights, so it is recorded here as an external runner failure.
  • Fixed after the first CI and hosted review at feb7b394, each with a regression test that fails on the earlier code (A/B on the guest):
    • Clearing a theme pinned each recolored brush to whatever light/dark value it last held, so after switching back to Windows default one mode could render the other's colors (CI: ChatToolInputSyntaxTests Light and Dark). Each brush is now resolved under its own mode before its color is captured. GatewayThemeRestoreTests.ClearingAThemeRestoresEachModesOwnTextColor.
    • Starting with a saved theme when the window's mode differs from Windows' app mode (found by the upgrade proof): enumerating WinUI's framework theme dictionaries resolved every brush in them against the app mode, so brushes the theme does not set showed light controls in a dark window. Framework brushes are now found through the theming system (the instance an element of each mode resolves) and those dictionaries are never enumerated. GatewayThemeRestoreTests.AThemeAppliedBeforeAnythingRendersLeavesUnthemedBrushesOnEachModesOwnColor.
    • Applying a theme while High Contrast is on no longer recolors the (then invisible) light and dark dictionaries, so it cannot record High Contrast values as their originals; leaving High Contrast applies the theme again. GatewayThemeRestoreTests.ClearingAThemeAppliedUnderHighContrastRestoresEachModesOwnTextColor.
    • Chat Markdown font roles lived in a weak table keyed by the managed wrapper, which the runtime can collect and recreate while the control lives, so a code label could lose its role and take the prose font (an intermittent CI failure). Roles are now an attached property on the element; MountedProseAndCodeStayApartAfterAThemeThatUsesOneFontForBoth forces a collection to prove it.
    • The chat picker menu style is based on the stock DefaultMenuFlyoutPresenterStyle again, with the theme font as a setter (CI: ReasoningPicker_MenuFocusAndDismissalDoNotCommit). That test now compares the base style's setters instead of the instance: with TypographyResources merged ahead of ChatResources, WinUI gives the picker its own instance of the stock style. A guest probe showed identical resolved border, background and item colors in dark and light surfaces with and without that dictionary.
    • The Gateway theme, Follow Gateway theme and Mica controls take their accessible names from their localized headers (AutomationProperties.LabeledBy), as the hosted review asked. SettingsPageInsetTests.AppearanceControlsTakeTheirAccessibleNamesFromTheirLocalizedHeaders.
  • Focused regressions also include GatewayThemeTests (follow decision, malformed settings, unreadable themes never applied), GatewayThemeCatalogWireTests.FollowingCompanionTracksTheGatewaySelectionPushedByPrefsEvents (authenticated fixture socket), and GatewayThemeSettingsTests (reconnect re-read, save-failure isolation, picker, SelectionIsPublishedBeforeASlowThemeDefinitionArrives).
  • Two-model Hanselman review of these fixes (code-review agent on GPT-6.1 Sol, Claude Opus 5.5): findings fixed (a ContainsKey check that also reached merged, global and High Contrast resources; the High Contrast capture above; a restore test that could pass on the old code depending on order; the user bubble keeping a font role after unmount; the restore test's setup check, which only held when the test app ran in light mode and now forces the other mode's value onto whichever mode the app is not running in). The final delta reported no significant issues. The reviewer's open question, whether a real High Contrast switch restores the theme, is answered by the High Contrast cycle in Evidence.
  • Intermittent CI failures on earlier heads, investigated rather than retried:
  • Local reviews on the range before these fixes: local ClawSweeper (findings fixed: composer and secondary-text contrast, prose/code font roles, follow latency behind slow definition reads, dialog fonts; the last run, before the rebase onto current main, reported the patch correct with no findings) and a two-model Hanselman review (Claude Opus 5.5, GPT-6 Astra; every finding fixed or answered, final deltas clean).
  • Hosted ClawSweeper on a97f2fcc: proof 4/6 and patch quality 4/6, no findings, nothing listed before merge ("Ready, awaiting maintainer decision"). Overall readiness stays at 3/6 because adopting the appearance direction needs a maintainer decision (the review's Decision needed); the external Revocation E2E failure above is the other reason it names.

Real Behavior Proof

  • Environment tested: Crabbox Hyper-V guest, Windows 11 Enterprise Insider Preview build 29683, interactive desktop at 1920x1080; OpenClaw.GatewayFixtureHost --scenario gateway-themes (synthetic read-only Gateway serving the 11 built-ins and fixture plugin themes) launching the Companion Debug build with an isolated profile.
  • PR head or commit tested: 13691ff3 for the upgrade run and validation, and its product code (identical on a97f2fcc) for the High Contrast and light/dark switch runs; feb7b394 for the theme gallery.
  • Exact steps or command run: the upgrade run is a guest script (stable 2026.11.1 portable under OpenClaw.GatewayFixtureHost, then this head's Debug build on the copied profile, driven through local MCP app.navigate and UI Automation). The High Contrast and light/dark runs continue on that profile: SystemParametersInfo(SPI_SETHIGHCONTRAST) on and off, then AppsUseLightTheme flipped three times with an ImmersiveColorSet broadcast, comparing window captures. For the gallery, a guest script drives the Companion through local MCP (app.navigate) and UI Automation: App theme Dark; Gateway theme Windows default, Tide, Manuscript, CRT (Settings and a running chat reply each); Follow Gateway theme on, then fixture select fixture-themes/neon-night; Tide with Mica on and off.
  • Evidence after fix: the screenshots in Evidence.
  • Observed result: each theme recolors and re-fonts Settings, navigation, chat bubbles, Markdown, code and the composer; following switches live from Claw to the plugin theme when the Gateway's selection changes, with the manual picker disabled and showing the followed theme; Mica off shows the theme canvas. Windows High Contrast replaces the theme's colors while it is on (the theme's fonts stay) and the theme returns unchanged when it is turned off.
  • Screenshot or artifact links verified? (Yes/No/N/A) Yes
  • Not verified or blocked: an MSIX in-place upgrade from the signed stable package (a signed build of this head is not available; the upgrade run uses the stable portable build and the same profile path). Following a real dashboard selection change through a live Gateway on this head (proven against the fixture Gateway and the authenticated wire test instead); light-mode screenshots (covered by UI tests, not shown).

Security Impact

  • New permissions or capabilities? (Yes/No) No
  • Secrets or tokens handling changed? (Yes/No) No
  • New or changed network calls? (Yes/No) Yes
  • Command or tool execution surface changed? (Yes/No) No
  • Data access scope changed? (Yes/No) No
  • If any answer is Yes, explain the risk and mitigation: the Companion now sends themes.list and themes.get over its existing authenticated operator connection, only when the Gateway advertises them and granted an operator read scope. Definitions are validated against upstream's limits and a 3:1 legibility floor before use or storage; invalid or unreadable entries are dropped. No writes, no new endpoints, no artwork or URL fetches.

Compatibility and Migration

  • Backward compatible? (Yes/No) Yes
  • Config or environment changes? (Yes/No) No
  • Migration needed? (Yes/No) No
  • If yes, list the exact upgrade steps: none. Older settings files have no Appearance value and keep the Windows look; the upgrade run in Evidence shows a settings file written by stable 2026.11.1 loading unchanged and gaining only Appearance when a theme is picked. Gateways without the theme methods (before 2026.9) offer only the built-ins. Light and dark follow the Windows/App theme setting rather than the dashboard's mode preference, and the dashboard's per-user accent and font overrides (users.prefs) are not applied yet; a one-mode theme pins its mode. The built-in table is generated from upstream main 220ca12e; the packaged Gateway 2026.11.1 ships 4ffdd204, whose built-in palettes differ slightly, which the stacked theme-table sync PR keeps in step.

Review Conversations

  • I replied to or resolved every bot review conversation addressed by this PR.
  • I left unresolved only conversations that still need maintainer judgment.

@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Nov 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Codex review: ready, awaiting a maintainer decision.

What this changes

Adds optional dashboard palettes, bundled fonts, Mica controls, and live Gateway theme following to Companion.

Example: Select Manuscript in Settings > General > Gateway theme.

  • Before: Companion uses Windows colors and Segoe UI typography.
  • After: Settings and chat use Manuscript colors and Lora typography, including after restart.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Relevant native behavior and upgrade evidence now address the earlier proof blocker; product adoption remains unresolved, and the draft still has a failed required CI gate.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected native Companion screenshots exercise theme application, fixture-driven following, latest-stable profile upgrade, restart persistence, and High Contrast restoration on Windows 11; GitHub tree hashes verify that the upgrade proof's production code matches this head.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Needs a maintainer decision · Fix scope: Complete
User problem: Companion cannot share the visual theme of the dashboard used beside it.
Reason: Visible opt-in value is demonstrated, but the added persistent controls and upstream palette maintenance require an appearance-owner decision.

Merge readiness

⏳ Ready, awaiting maintainer decision

Keep open: this PR contains useful appearance functionality absent from main, with no definite introduced correctness bug found; adopting the new appearance controls remains an owner decision.

Priority: P3
Reviewed head: a97f2fcca154c683d3d5d922a2f1a6ed1bc43090
Owner decision: Required. See Decision needed.

Decision needed

  • Question: Should Companion adopt optional dashboard palettes, bundled fonts, Mica controls, and Gateway theme following?
  • Recommendation: Approve the staged appearance feature: Accept the opt-in foundation with Windows defaults preserved, keeping branding and scheduled synchronization in their separate stacked PRs.
  • Why: These persistent appearance choices extend the deliberate native Fluent design, and no written owner approval appears in the reviewed discussion.

Before merge

None.

Findings

None.

Agent review details

How this fits together

Local appearance settings, bundled palettes, and authenticated Gateway theme data feed a native applicator that updates WinUI resources, windows, dialogs, and mounted chat.

flowchart LR
  A[Appearance settings] --> D[Appearance resolver]
  B[Bundled palettes] --> D
  C[Gateway theme catalog] --> D
  D --> E[WinUI applicator]
  E --> F[Windows and dialogs]
  E --> G[Mounted chat]
Loading

Technical review

Best possible solution:

Keep the optional palette-and-font foundation integrated with existing settings, connection, and window owners while preserving Windows defaults.

Do we have a high-confidence way to reproduce the issue?

This is a feature proposal; main lacks dashboard-theme selection, and inspected native screenshots demonstrate the proposed behavior.

Is this the best way to solve the issue?

The catalog, resolver, and applicator have distinct responsibilities and reuse existing persistence, operator transport, and window lifetimes; this is a coherent independently reviewable stage.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 7648d0b42a7e.

Provenance checked

  • Windows theme preference keeps the original intent (1fb28ee: Introduced System, Light, and Dark choices in Settings.)
  • High Contrast resource ownership keeps the original intent (ff19012: Moved theme resolution into WinUI/Reactor resources after failures in legacy accessibility event observation; this PR preserves High Contrast dictionaries without restoring that subscription.)
  • Native chat typography changes intended behavior with a stated reason (bf61595: Aligned native surfaces with Fluent typography; this PR explicitly proposes optional theme fonts and restoration of the Windows default.)
  • Markdown styling keeps the original intent (a6ff6a1: Aligned native Markdown spacing, tones, and code colors with web chat; the patch retains styling ownership while adding live font-role updates.)
  • Desktop companion lifetime keeps the original intent (fbc0287: Established a controller-owned desktop companion; theme refresh continues through that controller.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Introduced text changes Source +4268/-46; tests +2112/-7; scripts +264/-1 Growth includes a 654-line generated palette table and distinct parsing, persistence, transport, restoration, typography, and backdrop coverage; no definite redundant production owner was established.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.
  • remove status: 📣 needs proof: Current PR status label is status: ⏳ waiting on maintainer.

Label justifications:

  • P3: Optional appearance customization preserves the default experience and addresses no urgent broken workflow.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (1 earlier review cycle)
  • reviewed 2026-11-14T06:09:11.921Z sha feb7b39 :: needs real behavior proof before merge. :: none

Reviewed November 14, 2026, 6:55 AM ET / 11:55 UTC (Revision 2).

@paulcam206
paulcam206 force-pushed the paulcam206-gateway-themes branch 4 times, most recently from 13691ff to 5fcb5d7 Compare November 14, 2026 10:54
General settings can apply one of the Gateway's dashboard themes: the
built-in themes, plus plugin and imported themes read from the connected
Gateway through themes.list and themes.get. A separate "Mica backdrop"
setting chooses tinted Mica or the theme's opaque canvas, and "Follow
Gateway theme" (off by default) shows the theme selected in the
dashboard instead of the Companion's own choice.

- OpenClaw.Shared models themes, expands palettes and persists the
  appearance choice; BuiltinGatewayThemes is generated from the upstream
  dashboard table, and the OFL fonts the themes name are bundled.
- AppThemeApplicator recolors the bound Fluent, App and chat brushes in
  the Default and Light dictionaries and swaps the UI, chat and code
  fonts. App brushes and gradients bound to a Windows accent shade (the
  Hub navigation indicator, usage, systems, automations and voice
  visuals) take the theme's matching accent shade and return to the
  Windows accent with the Windows look. High Contrast dictionaries are
  never changed.
- GatewayThemeFollower records the Gateway's selected theme from
  themes.list (re-read on users.prefs.changed) while following. A theme
  the Companion can't render keeps the last followed theme, then the
  manual choice. The Companion never calls themes.set or writes prefs.
- Theme fonts reach all text: TypographyResources.xaml re-declares the
  Fluent type ramp (WinUI's styles hard-code XamlAutoFontFamily) and
  anchors pages, flyouts, menus and dialogs, ThemeHelper anchors window
  roots, and the chat user bubble follows the chat font.
- BackdropPolicy tints Mica or paints the opaque canvas in Mica windows
  and dialogs. A window keeps its themed backdrop once adopted and resets
  the tint for the Windows look, because swapping backdrops across the
  theme refresh made WinUI raise ArgumentException("target").
- The gateway-themes fixture scenario serves a synthetic catalog for
  proof and UI tests, and its select command changes the reported
  selection.
A LayoutCycleException reaches the unhandled-exception handler with no
managed stack, which left a model-picker hang on a themed install with
nothing to trace. Log the active theme, the focused element and the open
popups alongside the crash entry, and have Dev builds keep WinUI's
layout-cycle trace (native debugger output and stowed exceptions).
@paulcam206
paulcam206 force-pushed the paulcam206-gateway-themes branch from 5fcb5d7 to a97f2fc Compare November 14, 2026 11:03
@paulcam206

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient Contributor real behavior proof is sufficient. status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient Contributor real behavior proof is sufficient. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant