Repository navigation
fix: View not removed and Unloaded event not raised - #3728
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
3d3426d to
56d3da5
Compare
|
Can you add a runtime test validating the behavior ? |
b49b793 to
ab27ae7
Compare
|
The build 18548 found UI Test snapshots differences: Details
|
|
The build 18558 found UI Test snapshots differences: Details
|
|
The build 18558 found UI Test snapshots differences: Details
|
|
The build 18558 found UI Test snapshots differences: Details
|
… leaking on WASM, cause the UI test to fail on CI)
2296b4d to
b617eab
Compare
|
The build 19642 found UI Test snapshots differences: Details
|
|
The build 19642 found UI Test snapshots differences: Details
|
|
The build 19642 found UI Test snapshots differences: Details
|
|
The build 19642 found UI Test snapshots differences: Details
|
|
The build 19642 found UI Test snapshots differences: Details
|
|
The build 19651 found UI Test snapshots differences: Details
|
|
The build 19651 found UI Test snapshots differences: Details
|
|
The build 19651 found UI Test snapshots differences: Details
|
|
The build 19651 found UI Test snapshots differences: Details
|
|
The build 19651 found UI Test snapshots differences: Details
|
| internal protected readonly ILogger _log; | ||
| private protected readonly ILogger _logDebug; | ||
|
|
||
| private readonly bool _isFrameworkElement; |
There was a problem hiding this comment.
Codacy found an issue: Remove unassigned field '_isFrameworkElement', or set its value.
| { | ||
| public UIElement() | ||
| { | ||
| _isFrameworkElement = this is FrameworkElement; // Avoids unused field error |
There was a problem hiding this comment.
| { | ||
| _log = this.Log(); | ||
| _logDebug = _log.IsEnabled(LogLevel.Debug) ? _log : null; | ||
| _isFrameworkElement = this is FrameworkElement; |
There was a problem hiding this comment.
|
The build 19668 found UI Test snapshots differences: Details
|
|
The build 19668 found UI Test snapshots differences: Details
|
Bugfix
Some views, like the
ScrollBarare leakingWhat is the current behavior?
On a given platform the view were not actually removed from the visual tree and the
UIElement.Unloadedevent is not raised.What is the new behavior?
🙃
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.