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

Svg image not rendering in remote desktop with a higher dpi #9799

Open
HO-COOH opened this issue Jul 9, 2024 · 1 comment
Open

Svg image not rendering in remote desktop with a higher dpi #9799

HO-COOH opened this issue Jul 9, 2024 · 1 comment
Labels
area-Images Images, SVG bug Something isn't working team-Rendering Issue for the Rendering team

Comments

@HO-COOH
Copy link

HO-COOH commented Jul 9, 2024

Describe the bug

This issue is quite unlikely, and it does not seems to reproduce every time. But when it does happen, it gives user a really bad impression and hard to explain.

Steps to reproduce the bug

  1. Use a svg image as a Button's Content.
        <Button x:Name="myButton4" Click="myButton_Click">
            <Image Source="ms-appx:///Assets/settings-icon.svg" Width="19" Height="19"/>
        </Button>
  1. Launch the app on the physical PC
  2. Connect this PC with remote desktop on another PC that has a higher dpi. Now the svg image will often disappear.

Expected behavior

No response

Screenshots

Launch on the physical PC:
image

Connect with remote desktop:
image

NuGet package version

WinUI 3 - Windows App SDK 1.5.4: 1.5.240607001

Windows version

Windows 11 (22H2): Build 22621

Additional context

Repro project here

@HO-COOH HO-COOH added the bug Something isn't working label Jul 9, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jul 9, 2024
@chrisglein chrisglein added area-Images Images, SVG team-Rendering Issue for the Rendering team labels Jul 11, 2024
@codendone
Copy link
Contributor

There was a fix in 1.6-experimental2 to reload images when scale, theme, or highcontrast changes. It would be interesting to know if that fixe this issue.

@codendone codendone removed the needs-triage Issue needs to be triaged by the area owners label Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Images Images, SVG bug Something isn't working team-Rendering Issue for the Rendering team
Projects
None yet
Development

No branches or pull requests

3 participants