Issue Description:
After upgrading from .NET 7 to .NET 8, the ForegroundScale property in MauiIcon is no longer functioning as expected. This property previously allowed developers to adjust the zoom level of the foreground image in the app icon, but it seems to be ignored in the latest version.
Expected Behavior:
Setting the ForegroundScale property in MauiIcon should alter the zoom of the foreground image in the app icon. For example, a ForegroundScale value of 0.50 should zoom out the image to 50% of its original size.
Current Behavior:
Regardless of the value set for ForegroundScale, the size of the foreground image remains unchanged.
.csproj file (default fresh test project):
Image looks identical no matter what value I enter in the ForegroundScale.
Any help would be appreciated
Versions:
.NET: Microsoft.NETCore.App 8.0.2
Visual studio for Mac 17.6.9 (build 415).
Test devices:
Samsung Galaxy S22 API 33
Steps to Reproduce
Steps to Reproduce:
Upgrade a MAUI project from .NET 7 to .NET 8.
In the MauiIcon configuration, set the ForegroundScale to a value different from 1 (e.g., 0.50).
Build and run the application on Android.
Observe that the foreground image size does not reflect the specified ForegroundScale value.
Description
Issue Description: After upgrading from .NET 7 to .NET 8, the ForegroundScale property in MauiIcon is no longer functioning as expected. This property previously allowed developers to adjust the zoom level of the foreground image in the app icon, but it seems to be ignored in the latest version.
Expected Behavior: Setting the ForegroundScale property in MauiIcon should alter the zoom of the foreground image in the app icon. For example, a ForegroundScale value of 0.50 should zoom out the image to 50% of its original size.
Current Behavior: Regardless of the value set for ForegroundScale, the size of the foreground image remains unchanged.
.csproj file (default fresh test project):
Image looks identical no matter what value I enter in the ForegroundScale.
Any help would be appreciated
Versions: .NET: Microsoft.NETCore.App 8.0.2 Visual studio for Mac 17.6.9 (build 415).
Test devices: Samsung Galaxy S22 API 33
Steps to Reproduce
Steps to Reproduce: Upgrade a MAUI project from .NET 7 to .NET 8. In the MauiIcon configuration, set the ForegroundScale to a value different from 1 (e.g., 0.50). Build and run the application on Android. Observe that the foreground image size does not reflect the specified ForegroundScale value.
Link to public reproduction project repository
No response
Version with bug
8.0.20 SR4
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response