tibold / svg-explorer-extension

Extension module for Windows Explorer to render SVG thumbnails, so that you can have an overview of your SVG files
Other
3.21k stars 191 forks source link

Info - powertoys enables svg preview #84

Open maphew opened 4 years ago

maphew commented 4 years ago

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.

tibold commented 4 years ago

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.

maphew commented 4 years ago

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.

GitMensch commented 4 years ago

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.

tcfurrer commented 4 months ago

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

maphew commented 3 months ago

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