KEMBAR78
[Windows] Image Clipping not working correctly · Issue #30440 · dotnet/maui · GitHub
Skip to content

[Windows] Image Clipping not working correctly #30440

@borrmann

Description

@borrmann

Description

I am not 100% sure if this issue is different from the other issues reported for clipping on windows, but I have provided a very simple repro, so maybe if it isn't new at least it may help resolve the issue.

Windows:
Image

in comparison Android:
Image

iOS works but Hot Restart is broken due to VS at the moment..

Steps to Reproduce

The app sometimes crashes on Windows, which then seems to be the issue that was already reported by others.
To ensure the app does not crash, you can make use of Hot Reload to display the incorrect clipping.
Or otherwise you try to start the app until it doesn't crash, which may take a lot of attempts.

  1. remove this part from the page:
                <Image.Clip>
                    <EllipseGeometry RadiusX="200"
                                     RadiusY="200"
                                     Center="200,200" />

                </Image.Clip>
  1. Run the app with Hot Reload enabled on Windows
  2. Paste back the removed Image clipping while the app is running

you can see the incorectly clipped image.

Link to public reproduction project repository

https://github.com/borrmann/MauiImageClippingWindows

Version with bug

9.0.81 SR8.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

net9.0-windows10.0.19041.0

Did you find any workaround?

no

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-toolingXAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debuggingpartner/hot-reload-xamlIssues impacting XAML Hot Reload experiencespartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions