Public bug reported:

Upstream bug filed here:
https://bugs.documentfoundation.org/show_bug.cgi?id=99395

In the Libertine Scope we are programmatically selecting icons to by
reaching into a container's rootfs, finding all the icons for a given
app, and picking either the highest resolution PNG/XPM or the first SVG
we find. This works well except for the LibreOffice icons, which when
rendered by Qt contain black rectangles on all four corners. I have
found this to be the case using the unity-scope-tool and an SVGViewer
provided by Qt
(https://github.com/qtproject/qtsvg/tree/dev/examples/svg/svgviewer),
which I used to demonstrate this issue in the attached image. QtSVG will
only render icons properly if they follow the SVG Tiny 1.2 spec, so I
believe this could be the issue we're seeing.

The icons in question show up in the "hicolor" and "gnome" themes
(collected from either an LXC container or the local OS), with paths
like:

/usr/share/icons/gnome/scalable/apps/libreoffice-writer.svg
/usr/share/icons/hicolor/scalable/apps/libreoffice-writer.svg

Is it possible that these icons are incorrect or outdated? I have seen
this behavior with LO 5.0.5.1 and 5.1.2 on Ubuntu 15.10 and 16.04.

** Affects: libreoffice (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "On the left is the icon for oasis mimes. On the right is 
the icon from the "hicolor" theme."
   
https://bugs.launchpad.net/bugs/1572252/+attachment/4640054/+files/side-by-side.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1572252

Title:
  SVG Desktop Icon Rendering Issues in Qt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1572252/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to