svg-explorer-extension icon indicating copy to clipboard operation
svg-explorer-extension copied to clipboard

Info - powertoys enables svg preview

Open maphew opened this issue 4 years ago • 6 comments

Windows PowerToys has a module which enables SVG in the preview pane: https://github.com/microsoft/PowerToys/tree/master/src/modules/previewpane

At this point it's only in preview pane and not in thumbnails like SVG explorer extension. Other powertoy modules draw on and credit open source projects, so perhaps there's room for collaboration and sharing with this project too.

maphew avatar May 30 '20 21:05 maphew

This looks interesting. When I originally did my research .NET and C# wasn't supported for Thumbnail and preview handlers.

http://www.codemonkeycodes.com/2010/01/11/ithumbnailprovider-re-visited/

If using C# and .NET is supported now, than we could switch the platform and simplify a lot of things. It could also allow us to loosen the license.

tibold avatar May 31 '20 11:05 tibold

Simplification would be good from my point of view. Less out of my depth ;-) Today's new svg-see release installed well on my machine (no unwanted reboot).

There was a notification alert from PowerToys about svg-see extension being elevated that looked alarming but turned out to be more of a "well, I would expect that" situation:

[PowerToys] only needs to be elevated when it has to interact with other applications that are running elevated. If those applications are in focus, PowerToys may not function unless it is elevated as well.

maphew avatar Jun 01 '20 05:06 maphew

PT File-Explorer-Add-ons-Overview now also includes preview (svg + markdown) and thumbnail (svg).

The main difference would be in the license LGPLv3+ vs. MIT (PT are free but not copy-lefted) and that this extension also works on old versions of Windows (probably also ReactOS) and without .NET. Here are their requirements as of November 2021:

  • Windows 11 or Windows 10 v1903 (18362) or newer.
  • .NET Core 3.1.20 Desktop Runtime or a newer 3.1.x runtime. The installer will handle this if not present.

As noted by @pb5050 (not sure if this still applies) the PT do not work on ARM versions of Windows, while this extension does.

In any case it would be useful to include a note in the README about the differences of Svg See and PT FileExplorerAddOns.

GitMensch avatar Sep 15 '20 05:09 GitMensch

Although PowerToys has SVG thumbnail rendering, it's ridiculously slow and thus only useful in folders with a handful of SVG files. It really lives up to the "toy" name. As far as I know, SvgSee remains the only reasonable way to view more than a few SVG files in File Explorer. See: https://github.com/microsoft/PowerToys/issues/19690

tcfurrer avatar Jun 07 '24 17:06 tcfurrer

Although PowerToys has SVG thumbnail rendering, it's ridiculously slow and thus only useful in folders with a handful of SVG files. It really lives up to the "toy" name. As far as I know, SvgSee remains the only reasonable way to view more than a few SVG files in File Explorer. See: microsoft/PowerToys#19690

Oh! that's interesting, and unexpected (to me). I wonder why they're so slow

maphew avatar Jun 09 '24 22:06 maphew