maui
maui copied to clipboard
K1_CollectionViewPool list - Black background color on some texts.
Description
Black background color on some texts and spaces.
Affected case: K1 - Check the performance of CollectionView with a large number of items
Note: Some texts on the bottom are also gibberish.
Steps to Reproduce
- Deploy https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests on iOS or MacCatalyst platforms.
- Click K_Performance -> K1 - CollectionViewPool list -> Click button
- Observe that the texts and the spaces have a black background color.
Actual Behavior: Texts and spaces have a black background color (both in light theme and dark theme)
Expected Behavior: Texts and spaces should adapt properly with the theme and should be readable.
Link to public reproduction project repository
https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests
Version with bug
Microsoft.Maui.Controls 9.0.90-ci.inflight.25314.2
Is this a regression from previous behavior?
Yes, this is a regression. The issue not repro on 9.0.80.
Affected platforms
macOS, iOS
I can also reproduce this problem when I deploy the WhattoEat project using the Microsoft.Maui.Controls 9.0.90-ci.inflight.25314.2 with a light theme.
- Deploy dotnet/maui-samples at whattoeat on iOS or Maccatalyst platforms.
- Observe that the spaces of some of the pages has a black background color.
When you switch to dark theme, it displays properly:
This issue can also be reproduced with CollectionViewHandler2.
Just finding commits, could it have been this? https://github.com/dotnet/maui/pull/22917
This issue has been verified in Visual Studio Code 1.101.0 with .NET MAUI version - 9.0.90-ci.inflight.25314.2 It can be reproduced on both the iOS and macOS platform in CV1 and CV2. It is not reproducible on MAUI version 9.0.80.
I believe it was this: https://github.com/dotnet/maui/pull/22917
Reverting for now https://github.com/dotnet/maui/pull/30031