Created attachment 7575 Contains an SVG file with a linked image relative to itself(to the svg file) Just this, tried in other programs: - Inkscape 0.92+ is able to display it - Chrome is able to display it - Firefox is able to display it The bug also affects Thunar, as it is unable to display SVGs containing linked images. Embedding images as base64 strings is not a solution, it makes the SVG explode and it works only when one can control SVG creation, which is not the case for most users. What do you think ?
Hi, and thanks for the report! It seems that GdkPixbufLoader that is used for loading images is not capable of handling "image/svg+xml" MIME types. I found out that other image viewers, such as xviewer (https://github.com/linuxmint/xviewer/blob/724900eb4a57f77206da1744d58bb0c4208da0ef/src/xviewer-image.c#L1021) and eog, are using libsrvg for "image/svg+xml" and "image/svg+xml-compressed" types. I will look into adding support for libxrvg into ristretto.
Created attachment 8497 svg with linked image Hi, I recently came across the same issue. For openSUSE we want to link different logos depending on the distribution branch (fixed vs. rolling release) into Xfce's splash screen. See attachment with an absolute link included in the upper left. Did you have the chance to have a look at it already?
On my side, I'm using new Tumbler plugin (using librsvg bug #15569) and I found with librsvg 2.44.x I'm able to get Vinzenz Vietzke's image (thumbnail is generated through Thunar or Xfdesktop). But with librsvg 2.45.x thumbnail is not generated. It contains an absolute path to SVG image which is not present on my system, so I don't think using librsvg will resolve problem.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/ristretto/-/issues/23. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev