Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] Regression: FontIcon rendering quality decreased (UWP) #10538

Open
CleanCodeDeveloper opened this issue May 1, 2020 · 3 comments
Open

Comments

@CleanCodeDeveloper
Copy link
Contributor

CleanCodeDeveloper commented May 1, 2020

Description

FontIcons rendering quality in AppShell Flyout decreased with Xamarin.Forms v4.6.0.726 compared to previous version v4.5.0.657 or v4.5.0.725

Steps to Reproduce

  1. Define FontImageSource in ResourceDictionary
<ResourceDictionary>
    <FontImageSource FontFamily="Segoe MDL2 Assets" Glyph="&#xE80F;" Color="Black" x:Key="IconHomeFlyout"/>
    <FontImageSource FontFamily="Segoe MDL2 Assets" Glyph="&#xE713;" Color="Black" x:Key="IconSettingsFlyout"/>
    <FontImageSource FontFamily="Segoe MDL2 Assets" Glyph="&#xE946;" Color="Black" x:Key="IconAboutFlyout"/>
            
    <FontImageSource FontFamily="Segoe MDL2 Assets" Glyph="&#xE80F;" x:Key="IconHome"/>
    <FontImageSource FontFamily="Segoe MDL2 Assets" Glyph="&#xE713;" x:Key="IconSettings"/>
    <FontImageSource FontFamily="Segoe MDL2 Assets" Glyph="&#xE946;" x:Key="IconAbout"/>
</ResourceDictionary>
  1. Use the FontIcon in an ShellItem
<ShellItem Title="{x:Static localization:AppResources.PageName_Settings}" Route="settings" 
               Icon="{StaticResource IconSettings}" FlyoutIcon="{StaticResource IconSettingsFlyout}">
    <views:SettingsPage Title="Settings"/>
</ShellItem>

<ShellItem Title="{x:Static localization:AppResources.PageName_About}" Route="about" 
               Icon="{StaticResource IconAbout}" FlyoutIcon="{StaticResource IconAboutFlyout}">
    <views:AboutPage Title="About"/>
</ShellItem>

Expected Behavior / Actual Behavior

image

Basic Information

  • Version with issue: v4.6.0.726, v4.6.0.800, 4.7.0.813-pre2
  • Last known good version: v4.5.0.725
  • IDE: VS 2019 (v16.6.0 Preview 5)
  • Platform Target Frameworks:
    • UWP: 10.0.18362.0

Screenshots

See above

Reproduction Link

FontIconRenderingQuality10538.zip

Workaround

None

@StephaneDelcroix
Copy link
Member

does this happens only in a shell item ? or elsewhere too ?
could you please provide a reproduction sample ? thanks

@StephaneDelcroix StephaneDelcroix added the s/needs-repro ❔ This reported issue doesn't include a sample project reproducing the issue. Please provide one. label May 8, 2020
@StephaneDelcroix StephaneDelcroix moved this from New to Needs Info in Triage May 8, 2020
@CleanCodeDeveloper
Copy link
Contributor Author

The bug occurs only in the Flyout of the ShellItem.

I've create a small reproduction sample:
FontIconRenderingQuality10538.zip

@samhouts samhouts added this to Backlog in Shell May 11, 2020
@CleanCodeDeveloper
Copy link
Contributor Author

@StephaneDelcroix: Is the repro I added sufficient?

@samhouts samhouts removed the s/needs-repro ❔ This reported issue doesn't include a sample project reproducing the issue. Please provide one. label May 26, 2020
@samhouts samhouts moved this from Needs Info to New in Triage May 26, 2020
@samhouts samhouts added 4.6.0 regression on 4.6.0 i/regression and removed s/unverified New report that has yet to be verified labels May 26, 2020
@samhouts samhouts added this to the 4.6.0 milestone May 29, 2020
@samhouts samhouts added the e/1 🕐 1 label May 29, 2020
@samhouts samhouts moved this from New to Ready For Work in Triage May 29, 2020
@samhouts samhouts removed this from Ready For Work in Triage May 29, 2020
@samhouts samhouts added this to To do in v4.6.0 Jun 20, 2020
@samhouts samhouts removed this from the 4.6.0 milestone Jul 8, 2020
@samhouts samhouts added this to To do in Sprint 174 Jul 27, 2020
@samhouts samhouts added this to the 5.0.0 milestone Aug 13, 2020
@samhouts samhouts added this to To do in vNext+1 (5.0.0) Aug 13, 2020
@samhouts samhouts moved this from To do to Returned to backlog in Sprint 174 Aug 17, 2020
@samhouts samhouts removed this from the 5.0.0 milestone Nov 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Shell
  
Backlog
Sprint 174
  
Returned to backlog
v4.6.0
  
To do
Development

No branches or pull requests

4 participants