maui icon indicating copy to clipboard operation
maui copied to clipboard

BoxView with no dimension given in a grid is not displayed (unexpected behavior when migrating from Xamarin)

Open inimirpaz opened this issue 1 year ago • 6 comments

Description

        <Grid RowDefinitions="*, *" ColumnDefinitions="*, Auto" RowSpacing="6">
            <BoxView Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" BackgroundColor="Black" />
            <BoxView Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" BackgroundColor="Black" />
        </Grid>

Gives different results in Xamarin vs MAUI: Image Image

Steps to Reproduce

No response

Link to public reproduction project repository

https://github.com/inimirpaz/maui_issues/tree/boxview_grid_issue

Version with bug

8.0.92 SR9.2

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

inimirpaz avatar Oct 22 '24 09:10 inimirpaz

We've found some similar issues:

  • #3633 , similarity score: 82%
  • #15328 , similarity score: 82%

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

similar-issues-ai[bot] avatar Oct 22 '24 09:10 similar-issues-ai[bot]

This issue has been verified using Visual Studio 17.12.0 Preview 3(8.0.92 & 8.0.3). Can repro this issue at android platform.

ninachen03 avatar Oct 22 '24 10:10 ninachen03

Hi! It appears to be fixed in the NET9

iOS: Image

Android: Image

    <Grid RowDefinitions="*, *"
            ColumnDefinitions="*, Auto"
            RowSpacing="6">
        <BoxView Grid.Row="0"
                Grid.Column="0"
                Grid.ColumnSpan="2"
                BackgroundColor="Black"/>
        <BoxView Grid.Row="1"
                Grid.Column="0"
                Grid.ColumnSpan="2"
                BackgroundColor="Black"/>
    </Grid>

kubaflo avatar Oct 22 '24 11:10 kubaflo

Hello, the current latest stable version is still .NET 8 though

inimirpaz avatar Oct 22 '24 14:10 inimirpaz

Hello, the current latest stable version is still .NET 8 though

We're not going to be releasing any more product fixes for .NET 8 at this point.

PureWeen avatar Oct 23 '24 20:10 PureWeen

Hi @inimirpaz. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.