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

AppBarButton with an image does not render perfectly #16697

Open
ArchieCoder opened this issue May 12, 2024 · 5 comments
Open

AppBarButton with an image does not render perfectly #16697

ArchieCoder opened this issue May 12, 2024 · 5 comments
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification

Comments

@ArchieCoder
Copy link
Contributor

ArchieCoder commented May 12, 2024

Current behavior

The arrow from the default project shows a fuzzy arrow

image

Note: the second arrow is from the original image opened with Edge then zoom

Expected behavior

Better render of an image

How to reproduce it (as minimally and precisely as possible)

1- Create a new project with the default option
2- Run and click on Second page

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

Skia (WPF), Windows (WinAppSDK)

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@ArchieCoder ArchieCoder added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels May 12, 2024
@Youssef1313
Copy link
Member

@ArchieCoder There was recently a change in image rendering to improve these cases, which is available in the latest 5.2 stable starting with 5.2.112, and the latest 5.3 devs starting with 5.3.0-dev.841.

Can you make sure you're using a version that includes this fix?

@ArchieCoder
Copy link
Contributor Author

@Youssef1313 I'm with "Uno.Sdk": "5.2.121".

@Youssef1313
Copy link
Member

Thanks. Then it's different than the issue fixed recently.

@jeromelaban
Copy link
Member

This looks like an scaled asset invalid selection. Are you running this app in more than 100% scaling?

@ArchieCoder
Copy link
Contributor Author

@jeromelaban I'm at the recommended scaling at 150%. With a resolution of 3840x2160, it would be super hard to read at 100%.

I tried the Uno back asset in a WinUI app and it acts weird. The arrow does not scale, but the background does.

WinUI + SVG still have issues apparently microsoft/microsoft-ui-xaml#825 (comment)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

No branches or pull requests

3 participants