Open janne-hmp opened 1 week ago
This issue has been verified using Visual Studio 17.13.0 Preview 1.0 (9.0.0 & 9.0.0-rc.2.24503.2). Can repro on Android platform.
@ninachen03 did this happen in .NET 8? What about net9 preview6 or 7?
@janne-hmp can you provide a simplified sample that reproduces the behavior?
I did a quick test here with entries in a scrollview and it's not scrolling to the first entry automatically.
@ninachen03 did this happen in .NET 8? What about net9 preview6 or 7?
Sorry, let me add some clarity, This issue is reproduced on 9.0.0-rc.2.24503.2, but not on 9.0.0-rc.1.24453.9 to 9.0.0-preview.1.9973, so it is a regression issue.
Hi, the game works just on .NET MAUI 9 (and Xamarin) currently. As Nina Chen mentioned, the problem appears on Android just with 9.0 GA, not with 9.0 RC2. Xamarin works well, too. I cannot check .NET 8 or 7 at the moment, as a meaningful amount of additional work would potentially be needed to add the support for older framework versions.
Hi, the game works just on .NET MAUI 9 (and Xamarin) currently. As Nina Chen mentioned, the problem appears on Android just with 9.0 GA, not with 9.0 RC2. Xamarin works well, too. I cannot check .NET 8 or 7 at the moment, as a meaningful amount of additional work would potentially be needed to add the support for older framework versions.
I used the provided repro on RC2, the problem reappeared. It worked fine on RC1.
Thanks for the clarification, Nina. I probably did not notice the bug in RC2, so good to hear the regression has been found to have occurred already in RC2 instead, and RC1 is the version which works.
Fairly sure this was caused by
Description
In .NET MAUI 9.0 GA, Android has a new annoying feature that ScrollView does not start at position 0 but at the position where the content's first Entry control is located on the bottom of the ScrollView. I have a long list of settings on the app's Settings page and it is very confusing if the page is opened in the middle of the settings list rather than at start.
Windows seems to work fine, didn't test iOS. This also worked fine on Android in .NET MAUI 9.0 RC2.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/hyvanmielenpelit/GnollHackMAUIEasyBuild
Version with bug
9.0.0 GA
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.0-rc.2.24503.2
Affected platforms
Android
Affected platform versions
Android 14
Did you find any workaround?
Disabling all Entries at start and then enabling them with a 0.5 sec one-off timer seemed to help, but is not very elegant.
Relevant log output