You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Fluent Avalonia AppWindow Icon (top left on OS Windows) renders at low quality, which results in a significantly worse image quality compared to the base Avalonia Window Icon.
After some testing, this seems to be caused by bitmap interpolation quality settings – setting RenderOptions.BitmapInterpolationMode="HighQuality" on the AppWindow brings the rendering quality to the same level as in base Avalonia. As such, to fix this issue, it might be enough to set the BitmapInterpolationMode on the Icon directly. (The issue may have been caused by a change in the defaults for this setting between Avalonia 0.10 and 11.0 in the first place.)
Screenshots
Left to right: FluentAvalonia AppWindow Icon (current), Avalonia Window Icon, FluentAvalonia AppWindow Icon (set to HighQuality).
Desktop/Platform (please complete the following information):
OS: Windows 10
FluentAvalonia Version 2.1.0
Avalonia Version 11.1.3
Additional context
This issue seems very similar to #600, but I'm not sure if the cause could be the same (there seems to be no way to set BitmapInterpolation mode globally and I do not know whether Taskbar Icon is affected by this setting at all). There were also some other changes specific to Taskbar Icon rendering in downstream Avalonia (AvaloniaUI/Avalonia#14564) which, if they do not carry over to AppWindow, could cause the difference found in #600 independently of this issue.
The text was updated successfully, but these errors were encountered:
I have no clue why this would happen. There is nothing in the AppWindow code that deals anything with icon quality or the native win32 taskbar icons. So unless redefining the style for AppWindow is missing something that the default Avalonia Window has, I'm at a loss.
Note: I don't want to set the RenderQuality on the Window to HighQuality as I don't know what impacts that may have.
Describe the bug
The Fluent Avalonia AppWindow Icon (top left on OS Windows) renders at low quality, which results in a significantly worse image quality compared to the base Avalonia Window Icon.
After some testing, this seems to be caused by bitmap interpolation quality settings – setting
RenderOptions.BitmapInterpolationMode="HighQuality"
on the AppWindow brings the rendering quality to the same level as in base Avalonia. As such, to fix this issue, it might be enough to set the BitmapInterpolationMode on the Icon directly. (The issue may have been caused by a change in the defaults for this setting between Avalonia 0.10 and 11.0 in the first place.)Screenshots
Left to right: FluentAvalonia AppWindow Icon (current), Avalonia Window Icon, FluentAvalonia AppWindow Icon (set to HighQuality).
Desktop/Platform (please complete the following information):
Additional context
This issue seems very similar to #600, but I'm not sure if the cause could be the same (there seems to be no way to set BitmapInterpolation mode globally and I do not know whether Taskbar Icon is affected by this setting at all). There were also some other changes specific to Taskbar Icon rendering in downstream Avalonia (AvaloniaUI/Avalonia#14564) which, if they do not carry over to AppWindow, could cause the difference found in #600 independently of this issue.
The text was updated successfully, but these errors were encountered: