Description: No LibreOffice application is able to insert the attached SVG picture. Steps to Reproduce: 1. Open an new Writer, Calc, Impress or Draw document 2. Try to insert the attached SVG picture Actual Results: Only a very small frame without picture content is inserted. Expected Results: The SVG picture should be inserted properly. Reproducible: Always User Profile Reset: No Additional Info: Version: 24.2.4.2 (X86_64) / LibreOffice Community Build ID: 420(Build:2) CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: de-DE (de_DE.UTF-8); UI: de-DE Ubuntu package version: 4:24.2.4~rc2-0ubuntu0.22.04.1~lo1 Calc: threaded
Created attachment 195149 [details] SVG picture
Image is imported but not visible, neither selectable, even it is listed on the Navigator. Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: cdf2681d996286953dffa8a033de1b947ae23768 CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
It seems, that the import filter struggles with encoding="windows-1252" in the prolog. Change it to encoding="UTF-8" and the import works.
(In reply to Regina Henschel from comment #3) > It seems, that the import filter struggles with encoding="windows-1252" in > the prolog. Change it to encoding="UTF-8" and the import works. Thanks, you are right! In case it is somehow useful, I would like to point out that ONLYOFFICE has a similar problem, but fails not on import but on printout with the same SVG: https://github.com/ONLYOFFICE/DocumentServer/issues/2792#issuecomment-2210535901
Also reproduced in Version: 7.3.0.0.alpha1+ / LibreOffice Community Build ID: 229123ccc6f90ebf66b3e659bebbd53f8a9bdd3a CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: fr-FR (es_ES.UTF-8); UI: en-US Calc: threaded
(In reply to m_a_riosv from comment #2) > Image is imported but not visible, neither selectable, even it is listed on > the Navigator. In a recent master build, it's possible to right-click it and open its Properties, which shows a 0×0 size. Changing it has not effect. Same with Properties sidebar deck. Back in 5.0.0.5, it would be imported with a ridiculously large size according to the values in the sidebar, and changing the size would persist, but contents of the SVG still weren't shown.