[dolphin] [Bug 434863] New: SVG thumbnails are corrupt for Adwaita icons

Fredrick Brennan bugzilla_noreply at kde.org
Wed Mar 24 04:39:45 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=434863

            Bug ID: 434863
           Summary: SVG thumbnails are corrupt for Adwaita icons
           Product: dolphin
           Version: 20.12.3
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: copypaste at kittens.ph
                CC: kfm-devel at kde.org
  Target Milestone: ---

Created attachment 137011
  --> https://bugs.kde.org/attachment.cgi?id=137011&action=edit
Screenshot

SUMMARY
SVG files in the directory /usr/share/icons/Adwaita/scalable/mimetypes/ are
corrupt, but they appear correctly in Inkscape, Firefox, etc.

Example broken SVGS:

audio-x-generic-symbolic.svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M5
1v7.344A3.574 3.574 0 003.5 8 3.515 3.515 0 000 11.5C0 13.421 1.579 15 3.5
15A3.517 3.517 0 007 11.531v-7.53h6v4.343A3.574 3.574 0 0011.5 8 3.515 3.515 0
008 11.5c0 1.921 1.579 3.5 3.5 3.5 1.9 0 3.465-1.546 3.5-3.437V1z"
style="line-height:normal;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none"
color="#000" font-weight="400" font-family="Sans" overflow="visible"
fill="#474747"/></svg>

application-rss+xml-symbolic.svg:
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><g
fill="#474747"><path d="M6 12a2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2 2 2 0 012
2z" style="marker:none" color="#000" overflow="visible"/><path d="M2
6h1.014v1.014H2zm7.014 7.014H10V14h-.986zm4 0H14V14h-.986zM2
2h1.014v1.014H2z"/><path d="M3.014 8.014c2.774 0 5 2.227 5
5h2c0-3.854-3.145-7-7-7z"
style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal;marker:none"
color="#000" font-weight="400" font-family="sans-serif"
overflow="visible"/><path d="M3.014 4.028a8.972 8.972 0 018.987 8.986h2C14 6.96
9.07 2.028 3.014 2.028z"
style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal;marker:none"
color="#000" font-weight="400" font-family="sans-serif"
overflow="visible"/><path d="M4 7a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0
011 1zm0-4a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1zm6 10a1 1 0 01-1 1
1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1zm4 0a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1
1 1 0 011 1z" style="marker:none" color="#000" overflow="visible"/></g></svg>

OBSERVED RESULT
Glitchy thumbnails; see screenshot.

EXPECTED RESULT
Correct rendering as in Inkscape, Firefox. I also observed that the program
`convert` from ImageMagick handles them fine.


SOFTWARE/OS VERSIONS
Linux: 5.11.7-zen1-1-zen (Arch Linux)
(available in About System)
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list