Performance degradation when using CommunityToolkit IconTintColorBehavior with Microsoft.Maui.Controls versions newer than 10.0.51
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
After upgrading Microsoft.Maui.Controls to a newer version, we noticed a performance regression when navigating to new pages that contain icons using the CommunityToolkit IconTintColorBehavior.
The tint color is no longer applied immediately. Instead, there is a noticeable delay of approximately half a second before the icons are rendered with the expected color.
In previous versions (up to 10.0.51), the tint was applied instantly during page navigation. After upgrading to newer versions, the delay became consistently visible and negatively impacts the user experience.
Downgrading Microsoft.Maui.Controls back to version 10.0.51 resolves the issue and restores the previous behavior.
### Steps to Reproduce
_No response_
### Link to public reproduction project repository
_No response_
### Version with bug
10.0.70
### Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
### Last version that worked well
10.0.70
### Affected platforms
Android
### Affected platform versions
All Androids
### Did you find any workaround?
_No response_
### Relevant log output
```shell
```
Contributor guide
Research direction
Start by reproducing the delay on Android with CommunityToolkit IconTintColorBehavior while comparing Microsoft.Maui.Controls 10.0.51 and 10.0.70. The issue provides no reproduction project, steps, files, or tests; done means identifying the regression and verifying that icon tint is applied without the reported navigation delay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp
- Domain
- mobile, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100