Set Gwenview as the default SVG viewer

SVG files are images that Gwenview can open directly, but Plasma desktop defaults did not list them in the Image Viewer section. As a result, systems could fall through to another registered handler such as GIMP, which is a heavy raster editor and a poor default for simply opening or previewing SVG files.

This adds both regular and compressed SVG MIME types to the existing Gwenview image-viewer defaults, matching the other image formats in kde-mimeapps.list.

Validation:

  • git diff --check
  • XDG smoke with a temporary profile and this kde-mimeapps.list: image/svg+xml, image/svg+xml-compressed, and image/jpeg all resolve to org.kde.gwenview.desktop
  • codex review --base origin/master

Merge request reports

Loading