dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.05k stars 1.73k forks source link

[regression/8.0.0] CollectionView on windows no longer resizes width when resizing window #13924

Closed vsfeedback closed 1 year ago

vsfeedback commented 1 year ago

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


[severity:I'm unable to use this version] [regression] [worked-in:17.4.4] .net 7, collectionview would resize it's width when resizing the window. It also doesn't always display initially until the window is resized a bit. Works in 17.4.4. Stops working if I install the preview 17.5 alongside it or the just new 17.4.5. I guess the preview upgrades MAUI caused the problem even if I use 17.4.4 on that machine.


Original Comments

Feedback Bot on 2/16/2023, 06:44 PM:

(private comment, text removed)

bill.hamshire on 2/16/2023, 07:27 PM:

(private comment, text removed)


Original Solutions

(no solutions)

ghost commented 1 year ago

Hi @vsfeedback. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

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.

ghost commented 1 year ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

mdbill commented 1 year ago

I've been on vacation. Once Maui upgrades beyond 7.0.59 I'll test it again. It may have been fixed by another resolved issue.

mdbill commented 1 year ago

I tried again on the latest Maui 7.0.81. still broken. The main collectionView in a refreshview, the width will not resize at all. Another collecitonview I have: the width will get smaller and then stretch back wider, but still stops at the original size, in other words, it can never get wider than when the window first draws.
works with

7.0.52

but I can't stay on that version forever. personal side note: After 5 years of Xamarin/Maui, I'm now a dedicated Flutter developer and could not be happier. Github Copilot or ChatGPT is the secret that will let you make the leap easily.

samhouts commented 1 year ago

Duplicate of #15519