Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IconImage: Exception when Foreground is set before Icon #83

Open
felsenbirne opened this issue Nov 29, 2021 · 0 comments
Open

IconImage: Exception when Foreground is set before Icon #83

felsenbirne opened this issue Nov 29, 2021 · 0 comments

Comments

@felsenbirne
Copy link

Describe the bug
When using IconImage from the FontAweseome.Sharp.Pro NuGet package and when the Foreground-Property is set before the Icon-Property following Exception is thrown during the InitializeComponent of the containing View:

Exception thrown at 0x00007FF812904F69 (KernelBase.dll) in Application.exe: 0xC0000005: Access violation reading location 0x0000000000000000.

When setting the Icon before the Foreground or using the IconImage from the FontAwesome.Sharp Nuget everything works fine.

To Reproduce
Steps to reproduce the behavior:

  1. Add following control to Existing or new View:
    <faPro:IconImage Foreground="Black" Icon="Cog" />
  2. Start Software and open View
  3. The descriped Exception should be thrown

Desktop:

  • NuGet-Version FontAwesome.Sharp.Pro 5.15.4
@mkoertgen mkoertgen added this to To do in FontAwesome.Sharp via automation Jun 26, 2022
@mkoertgen mkoertgen modified the milestone: 6 Jun 26, 2022
@mkoertgen mkoertgen moved this from To do to In progress in FontAwesome.Sharp Jun 26, 2022
@mkoertgen mkoertgen moved this from In progress to To do in FontAwesome.Sharp Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants