maui icon indicating copy to clipboard operation
maui copied to clipboard

[Windows] Setting IsClippedToBounds="True" inside a Border control will crash on Windows

Open activa opened this issue 3 years ago • 5 comments

Description

Whenever a layout inside a <Border> control has IsClippedToBounds="True", the app will crash on Windows. It's working fine on iOS and Android

For example, this will crash on Windows:

<Border>
    <StackLayout IsClippedToBounds="True"></StackLayout>
</Border>

The same issue is happening with .NET 7. Didn't test .NET 6

Steps to Reproduce

No response

Link to public reproduction project repository

https://github.com/activa/MauiBugClippedToBounds

Version with bug

8.0.3

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

When launching a debug build, the error message says "An unhandled Win32 error occurred"

activa avatar Nov 21 '23 19:11 activa

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

ghost avatar Dec 04 '23 15:12 ghost

Verified this on Visual Studio Enterprise 17.9.0 Preview 2(8.0.3). Repro on Windows 11 and MacCatalyst, not repro on Android 14.0-API34 and iOS 17.0 with below Project: 18937.zip

XamlTest avatar Dec 25 '23 08:12 XamlTest

I also see that crash only on Windows

olekssmyk avatar Feb 28 '24 18:02 olekssmyk

Is this ever going to be fixed? This bug was reported 8 months ago.

activa avatar Jul 25 '24 23:07 activa

Bug is still there, please fix it.

Migoked avatar Aug 29 '24 13:08 Migoked