Repository navigation
docs(themeservice): spec 007 — ThemeService targets own root under foreign XamlRoot - #3122
Merged
Merged
Conversation
- design doc for #3120: ThemeService must apply RequestedTheme to its own root element, not RootElement.XamlRoot.Content - covers root cause, the conservative fix, both topologies, and test plan Refs #3120 Co-Authored-By: Claude Opus 4.8 <[email protected]>
3 tasks done
- two foreign-XamlRoot guards (write-target + real-dispatcher convergence) - note the synchronous-dispatcher re-entrancy finding that drove asserting the write target rather than a `== Dark` snapshot - verified red/fix/green on the Skia runtime-test head (6/6 green on fix) - document why the Studio ALC e2e is the behavioral equivalent of test 2 Refs #3120
nickrandolph
approved these changes
Jun 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue: refs #3120
PR Type
What is the current behavior?
No design doc exists for the
ThemeServiceforeign-XamlRoot / ALC theming bug tracked in #3120.What is the new behavior?
Adds
specs/007-themeservice-foreign-xamlroot/spec.md— a living design doc covering:RootElement.XamlRoot.Contentdiverges from the read/observe targetRootElement)RootElement, retain theXamlRootnull-check as the realized-yet gate)The code change that implements this spec is in a separate PR (#3121).
PR Checklist
Other information
Spec-only PR; numbered 007 (next free slot — 005 is a retired number per the repo's spec-numbering rule).