maui icon indicating copy to clipboard operation
maui copied to clipboard

[Windows] Wrong sizing using Bindable Layout

Open jsuarezruiz opened this issue 2 years ago • 9 comments
trafficstars

Description

Wrong sizing using Bindable Layout on Windows. Each Item is in a ContentView which also doesn't render to the detail page, I suspect it's related to that.

image

Steps to Reproduce

  1. Download on sync https://github.com/jsuarezruiz/netmaui-finance-app-challenge
  2. Launch the App on Windows.

Link to public reproduction project repository

https://github.com/jsuarezruiz/netmaui-finance-app-challenge

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 10 22H2

Did you find any workaround?

No response

Relevant log output

No response

jsuarezruiz avatar Mar 07 '23 13:03 jsuarezruiz

ContentView custom control not rendering in the detail page.

image

jsuarezruiz avatar Mar 07 '23 13:03 jsuarezruiz

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] (https://github.com/dotnet/maui/blob/main/docs/TriageProcess.md).

ghost avatar Mar 07 '23 19:03 ghost

@jsuarezruiz did you test this against the latest main branch? or is this just the latest released of MAUI?

PureWeen avatar Mar 07 '23 19:03 PureWeen

@jsuarezruiz did you test this against the latest main branch? or is this just the latest released of MAUI?

Latest release.

jsuarezruiz avatar Mar 08 '23 15:03 jsuarezruiz

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 2.0. Can repro on windows platform with sample project. netmaui.zip Screenshot 2023-06-25 171040

Zhanglirong-Winnie avatar Jun 25 '23 09:06 Zhanglirong-Winnie

This is still very much an issue with the current dotnet8 release (VS 17.8.0). Using contentviews in item templates (for bindable layout or collectionview) results in zero sized items on windows, appears to work on android.

can someone please look into fixing this? it is quite fundamentally broken.

MitchBomcanhao avatar Nov 15 '23 11:11 MitchBomcanhao

No interest in this? this is critical stuff.

MitchBomcanhao avatar Jan 09 '24 15:01 MitchBomcanhao

I've just noticed that this issue is gone if you remove UseMauiCompatibility() from MauiProgram.cs. trouble is, we need maui compatibility because it allows for functionality that hasn't been ported to maui yet, like touch effect.

MitchBomcanhao avatar Jan 11 '24 10:01 MitchBomcanhao

bump

MitchBomcanhao avatar Apr 12 '24 14:04 MitchBomcanhao