Skip to content

[regression/8.0.0] [Android] Border inside frame cause dont render content #18526

Closed

Description

@DanielSCBO

Description

Hello, when i put border inside a Frame -> Grid -> Border the content is empty dont render

With border
Screenshot_1699193855

Without border
Screenshot_1699193823

XML Code

 <VerticalStackLayout
  Spacing="25"
  Padding="30,0"
  VerticalOptions="Center">
     <Frame>
         <Grid RowDefinitions="auto, auto, auto, auto">
             <Border Stroke="#C49B33"
                     StrokeThickness="4"
                     StrokeShape="RoundRectangle 40,0,0,40"
                     Background="#2B0B98"
                     Padding="16,8"
                     HorizontalOptions="Center" Grid.Row="0">
                 <Label Text=".NET MAUI"
                        TextColor="White"
                        FontSize="18"
                        FontAttributes="Bold" />
             </Border>

             <Label Grid.Row="1"
                      Text="Login"
                      FontSize="18"
                      HorizontalOptions="Center" />

             <Button Grid.Row="2"
                      Text="Login"
                      Clicked="OnLogin"
                      HorizontalOptions="Center" />

             <Button Grid.Row="3"
                     Text="Settings"
                  Clicked="OnSettings"
                  HorizontalOptions="Center" />
         </Grid>
     </Frame>
 </VerticalStackLayout>

Steps to Reproduce

  1. Create MAUI .NET 8 Project
  2. On page Add VerticalStackLayout, Frame, Grid, Border
  3. The content is not displayed

Link to public reproduction project repository

https://github.com/LaBoss/MAUITestes.git

Version with bug

8.0.0-rc.2.9511

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

7.0.96

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

Android 11

Did you find any workaround?

Dont use border

Relevant log output

No response

Activity

  1. added
    t/bug
    on Nov 5, 2023
  2. ghost added
    legacy-area-controls
    on Nov 6, 2023
  3. added and removed
    legacy-area-controls
    on Nov 6, 2023
  4. added this to the .NET 8 SR1 milestone on Nov 6, 2023
  5. added
    potential-regression
    on Nov 6, 2023
  6. added
    legacy-area-controls
    on Nov 6, 2023
  7. added
    s/verified
    s/triaged
    on Nov 8, 2023
  8. XamlTest commented on Nov 8, 2023

    @XamlTest

    Verified this on Visual Studio Enterprise 17.8.0 Preview 7.0(8.0.0-rc.2.9530). Repro on Android 14.0-API34, not repro on Windows 11 with below Project:
    PrismBug.zip

  9. changed the title [-][Android] Border inside frame cause dont render content[/-] [+][regression/8.0.0] [Android] Border inside frame cause dont render content[/+] on Nov 9, 2023
  10. 3 remaining items

  11. removed
    legacy-area-controls
    on May 10, 2024
  12. PureWeen commented on May 23, 2024

    @PureWeen
    Member

    Duplicate of #18755

  13. PureWeen commented on Jun 19, 2024

    @PureWeen
    Member

    This fix should be available on the nightly feed as version 8.0.61-ci.net8.24319.3.

    Can you test with the latest nightly build?
    https://github.com/dotnet/maui/wiki/Nightly-Builds

  14. added
    i/regression
    and removed
    potential-regression
    on Jul 1, 2024
  15. locked and limited conversation to collaborators on Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-borderfixed-in-8.0.61fixed-in-9.0.0-preview.6.24327.7i/regressionplatform/androids/triageds/verifiedt/bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions