I’m a long time Fedora user and occasional Inkscape user. My main use of inkscape is post-processing of SVG files generated by online tools such as google slides. On Fedora 40 and Inkscape 1.3.2 I find that Firefox and Google Chome cannot render SVGs from Inkscape. They display an empty/white page. And Eye of Gnome displays the same files as an empty transparent background.
Issues and workarounds I found on google, such as exporting to SVG 1.1 and configuring preferences related to paths on SVG 1.1 didn’t make any difference.
To check that I was not crazy, I created a VM with Inkscape 1.1.1 (on RHEL 9) and files from that, strarting from the same google slide, work well on both the older Firefox in that VM and the newer Firefox on my Fedora machine. It seems to be an issue from Inkscape itself.
It may be someting specific to SVG files creates from Google Slides. Funny thing is that, a few months ago, SVGs from google wouldn’t display in web browser, and would work only after cleaning from Inkscape. Now it’s the opposite: the files from google do work as-is, but stop working after cleaning from Inkscape.
Is the Fedora forum the best place to get an answer?
I would test the various Inkscape SVG export formats.
This could be a browser issue. Nothing to do with Fedora.
Already tested them all, and variations of the preferences checkboxes related to export to SVG. If SVG is a standard format, and files work only on Inkscape, but not on other SVG viewers – two different web browsers and EoG, it seems an Inskscape issue, or an issue with Inkscape as built and packaged by Fedora.
As fedora is a distribution that targets end users of desktop tools, and my issue is with a desktop tool which is part of the distribution, it looks reasonable asking here before going somewhere else.
Next time, please provide a useful response instead of assuming I’m dumb and didn’t perform basic testing before asking. it would have been useful if you tried the same thing and reported “works for me” or not.
Oliver, I’d prefer an opensource tool. I tried svgo but it didn’t help. I can try Boxy SVG in the lack of any other alternative. Right now I’m using an older Inkscape from a VM to edit my SVG files, which is much worse than any local tool.
Well, Bloxy SVG can open the files from google slides and, after edits, Firefox and EoG can open them. I just can’t find how to resize the SVG to the diagram, like I do with Inkscape, after ungrouping and removing the slide background.
So this supports there is an issue with Inkscape not producing correct SVGs, at least when taking google slides SVG as input – but other tools have no problem with them.
As a point of reference: I’ve created SVG files in Inkscape 1.3.2 and they can be viewed in Firefox (130.0). The files originate as SVG with JPGs inserted, if that makes any difference. This is all on Fedora 40
I tested both Inkscape 1.3.2 svg export formats (Inkscape SVG and Plain SVG) and they open up fine in FireFox and Safari and Brave and Chrome on MacBook Air M2 2022 running on MacOS 14.6. Maybe the problem is deep inside Google and relates to an intern trying to impress with Agile or Scrum or both intense coding over the weekend?
I installed Inkscape to try this out. I found that while saving a standard SVG will result in the issue you encountered, saving as an Optimized SVG will result in a working image: