maui icon indicating copy to clipboard operation
maui copied to clipboard

In this Frame, errors can occur if the Image's WidthRequest attribute value is less than 160. Cause that 'hot reload' is very fragile.

Open vsfeedback opened this issue 1 year ago • 3 comments
trafficstars

This issue has been moved from a ticket on Developer Community.


MauiPresentDataApp01.Err02.png MauiPresentDataApp01.Err01.png


Original Comments

Feedback Bot on 12/17/2023, 06:46 PM:

(private comment, text removed)


Original Solutions

(no solutions)

Reproduction

  1. Create new MAUI App.
  2. Add the code in MainPage.xaml
            <Frame BorderColor="Black"
                   CornerRadius="100"
                   HeightRequest="200"
                   WidthRequest="200"
                   IsClippedToBounds="True"
                   HorizontalOptions="Center">
                <Image Source="dotnet_bot.png"
                          Margin="-100"
                          Aspect="AspectFill"
                          HeightRequest="240"
                          WidthRequest="159"/>
            </Frame>

vsfeedback avatar Dec 21 '23 16:12 vsfeedback

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 21 '23 19:12 ghost

cc @drasticactions who was going to repro to verify it's an SDK issue

BretJohnson avatar Jan 10 '24 17:01 BretJohnson

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

XamlTest avatar Jan 19 '24 06:01 XamlTest

I removed partner/hot-reload-xaml label because hot reload is not involved, just having these two properties together are enough: image

spadapet avatar May 14 '24 23:05 spadapet