Terminal: Terminal cannot use SVG files in backgroundImage, icon (xaml limitation?)

Created on 15 Aug 2019  路  4Comments  路  Source: microsoft/terminal

Over at UsingJsonSettings.md, in the section about adding a background image it directs me to download the .SVG image in Step 1

Step 4 then says to use the .JPG: ( "backgroundImage": "ms-appdata:///Roaming/openlogo.jpg", ) but this doesn't display the image in the Terminal.

Changing Step 4 to use the .SVG also doesn't display the image

Changing the file to be an actual .JPG (downloaded from the Debian logo page ) causes the image to appear.

The docs definitely need to be tweaked :)
(I'm not sure if .SVG is supposed to work or not, otherwise I'd do a PR to offer a fix)

Area-Settings Help Wanted Issue-Bug Product-Terminal

Most helpful comment

It should probably work.

All 4 comments

It should probably work.

Just to counter @DHowett-MSFT, using an SVG icon does _not_ in fact work. I'm guessing y'all are aware of this already, but I just want to make sure the latest comment on this thread reflects the current status.

@MikeTheGreat are you still interested/willing to make a PR for SVG support for icon/background files?

Thanks for the shout-out, @djsavvy :)

I'm busy until after August 8th so feel free to dig in on this if it's looking interesting to you.

After that I'd like to dig in on #5506 first, I think. (No promises there, either :) )

@djsavvy Just to be clear, I meant "Yeah this should probably _be made to work_" :smile:

Was this page helpful?
0 / 5 - 0 ratings