microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
106.91k stars 6.31k forks source link

SVG Thumbnail does not contain the whole SVG image #12288

Open gammeter opened 2 years ago

gammeter commented 2 years ago

Microsoft PowerToys version

0.41.4

Running as admin

Area(s) with issue?

SVG Thumbnail

Steps to reproduce

open a folder containing SVG images

✔️ Expected Behavior

The thumbnail should show the entire SVG image.

❌ Actual Behavior

The thumbnail contains the top left part of the SVG image only. Example: image

And these are the full images: image image

Other Software

No response

dedavis6797 commented 2 years ago

Punting this out to v0.53. @jaimecbernardo does this sound reasonable?

jaimecbernardo commented 2 years ago

@dedavis6797 , Investigating at least should be reasonable. It's the matter of investigating if the current renderer we are using supports a fix for this.

RamblingPSTech commented 2 years ago

svg-not-full-image

Certain SVG images do not render fully

crutkas commented 2 years ago

hi friends, can we get an SVG to test this against? without it, will be near impossible to debug

ghost commented 2 years ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

gammeter commented 2 years ago

@crutkas sorry for my late reply. Here are the two SVG files that were used to in my original post: SPIClass Pin-Klassen Thank you for your effort.

gammeter commented 2 years ago

@RamblingPSTech I suggest that you post the files that are visible in your animation too.

crutkas commented 2 years ago

note to self:

crutkas commented 2 years ago

15764 could either solve this or the injecting of viewbox may still be needed. I honestly think we'll need the viewbox to frame size correctly.