-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Windows] Allow to remove clip at runtime #31488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows] Allow to remove clip at runtime #31488
Conversation
|
|
||
| if (clipGeometry is null) | ||
| { | ||
| DisposeClip(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the main change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See https://github.com/dotnet/maui/blob/main/src/Controls/tests/TestCases.Android.Tests/snapshots/android/Issue24414Test_4.png to compare Android and Windows behavior. Windows behavior is now aligned to the Android one.
|
@jfversluis @jsuarezruiz Could you please run tests to see if something breaks/improves? |
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
dc68b9d to
482286e
Compare
482286e to
2ed79b3
Compare
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Issue24414Test_4.png
Show resolved
Hide resolved
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Issue24414Test_5.png
Show resolved
Hide resolved
...ests/TestCases.WinUI.Tests/snapshots/windows/FlyoutMenuCollectionViewFirstItemMisaligned.png
Show resolved
Hide resolved
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/WebViewShouldNotMirrored.png
Show resolved
Hide resolved
|
Azure Pipelines successfully started running 3 pipeline(s). |
cf9d482 to
390cb46
Compare
1712dae to
8e266f5
Compare
390cb46 to
c6cb675
Compare
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
/rebase |
|
probably the failing tests are related to the inflight/candidate branch, which was updated recently with a lot of new commits |
|
Yeah, the inflight branch contains a lot of failing tests: https://github.com/dotnet/maui/pull/31525/checks
|

Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description of Change
While researching #18337, I noticed that shadows do not disappear (merged in #31452) and then I noticed that
Clipappears to suffer from the same issue.This PR targets the
inflight/currentbranch because #31452 was merged there and that PR affects the same test -- i.e.Issue24414-- as this PR does.