Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[HR] register sourceinfo before triggering change #10933

Merged
merged 1 commit into from Jun 4, 2020
Merged

Conversation

StephaneDelcroix
Copy link
Member

@StephaneDelcroix StephaneDelcroix commented Jun 2, 2020

Description of Change

Register SourceInfo before triggering VisualStateChanged events.

Note that this flips a coin on a previously sketchy behaviour for types being ValuesProvider. Before this the value provided was registered (but doesn't match to any actual xaml element), now the xaml element is registered (and it doesn't match objects in the visual tree). This affects very little real life cases anyway.

previous behaviour was to register source info on the actual binding, now this will

Issues Resolved

API Changes

None

Platforms Affected

  • Core/XAML (all platforms)

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

VS bug #1135102

@StephaneDelcroix
Copy link
Member Author

/cc @chabiss @garuma

@samhouts samhouts added a/Xaml </> external-hotreload Non-Forms bugs that affect Hot Reload t/bug 🐛 blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. labels Jun 2, 2020
@samhouts samhouts added this to Ready for Review (PRs) in Sprint 171 Jun 4, 2020
@samhouts samhouts merged commit fb76fa2 into 4.6.0 Jun 4, 2020
Sprint 171 automation moved this from Ready for Review (PRs) to Done Jun 4, 2020
@samhouts samhouts deleted the fix_gh10803 branch June 4, 2020 23:41
@samhouts samhouts added this to the 4.6.0 milestone Jun 9, 2020
@samhouts samhouts added this to Done in v4.6.0 Jun 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/Xaml </> blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. external-hotreload Non-Forms bugs that affect Hot Reload t/bug 🐛
Projects
No open projects
Sprint 171
  
Done
v4.6.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants