Skip to content

revert: Back out the dark-theme NumberBox/ComboBox backport, it doesn't build on 6.x (6.7) - #25788

Merged
agneszitte merged 1 commit into
release/stable/6.7from
dev/agzi/revert-25765-dark-theme-6.7
Oct 28, 2026
Merged

agneszitte merged 1 commit into
release/stable/6.7from
dev/agzi/revert-25765-dark-theme-6.7

Conversation

@agneszitte

Copy link
Copy Markdown
Member

GitHub Issue: Related to #24021

Reverts #25765 (backport of #24091 to release/stable/6.7).

PR Type:

🐞 Bugfix (build break)

What changed? 🚀

#25765 doesn't compile on 6.x. The fix adds members to the DependencyObject class (GetTheme, WalkTheme, IsProcessingThemeWalk, GetVisualStateSetterResolutionTheme), but on 6.x DependencyObject is still an interface. The cherry-pick applied cleanly as text, so the break only showed in CI: the same code fails in 6.8's build 241913 in ResourceResolver.cs and DependencyObjectStore.Theming.cs (CS1061/CS0117) on every head that builds Uno.UI.

This reverts it so the branch builds and publishes again. A proper 6.x port of #24091 can follow, validated by CI before merging.

🤖 Generated with Claude Code

… it doesn't build on 6.x

The cherry-picked fix adds members to the DependencyObject class (GetTheme,
WalkTheme, IsProcessingThemeWalk, GetVisualStateSetterResolutionTheme). On
6.x DependencyObject is still an interface, so Uno.UI no longer compiles
(CS1061/CS0117 in ResourceResolver.cs and DependencyObjectStore.Theming.cs,
the same errors as 6.8's build 241913 (same code)). A 6.x port of #24091 needs its own change, validated by CI.

This reverts commit eaefbb6, reversing
changes made to 8fa10d7.

Related to #24021

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @agneszitte's task in 3m 17s —— View job


Code Review

  • Gather context and understand the PR
  • Read changed files
  • Review for correctness, completeness, and code quality
  • Post inline comments for specific findings
  • Post summary

Summary

Verdict: ✅ Looks good — clean, targeted revert with no blocking issues.

The PR correctly removes all members that caused CS1061/CS0117 on 6.x by calling methods on DependencyObject through its interface (which lacks those members on 6.x): GetTheme, WalkTheme, IsProcessingThemeWalk (via pattern match on the interface), and GetVisualStateSetterResolutionTheme. A quick audit of the four changed files confirms no ghost calls remain after the revert.

Technical correctness notes:

Minor observation:

The commit message description — "back out the dark-theme NumberBox/ComboBox backport (#25765), it doesn't build on 6.x" — is 75 characters, slightly over the 50-character guideline in AGENTS.md. Not a blocker for a revert commit, but worth noting for future reference.

Validation note (per debugging-discipline.md): This is a code-review assessment (diff inspection). Compile and runtime validation should be confirmed by CI — the PR description already references the failing build that prompted the revert.

@agneszitte
agneszitte merged commit 1b0de6f into release/stable/6.7 Oct 28, 2026
11 of 13 checks passed
@agneszitte
agneszitte deleted the dev/agzi/revert-25765-dark-theme-6.7 branch October 28, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant