SVG not working after Update

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
3 posts • Page 1 of 1
dbindernagel
Posts:161
Joined: Mon Feb 23, 2015 1:34 pm

SVG not working after Update

Post by dbindernagel »

Hello All,

after upgrading my project a SVG graphic (as a background for a panel) is not working anymore.
Meaning it is not visible at all and the following error message appears in the log.

Code: Select all

WCCOAui      (2), 2022.09.28 16:24:45.590, SYS,  WARNING,    54, Unexpected state, qt.svg, Invalid path data; path truncated.
The graphic itself can be opened without problems in other software (web browser, Inkscape, Libre Office Draw, etc.).

Old and new versions:
WinCC OA 3.18 P009 (= Qt 5.15.2)
WinCC OA 3.18 P012 (= Qt 5.15.8)

Google says that Qt had some problems with SVG graphics in the past already.
So my question is, if someone has an idea what I could do to "fix" my graphic so that this specific Qt version will accept it? (I'm not allowed to upload the graphic)
The graphic is quite big (~5MB) and even If I understood the format (which I don't) it is probably to big to manually fix it.
I tried opening it in a different software and saving it again, but this did not work.

Hope someone has an idea I could try.
Thanks in advance.

BR
Dennis

Andorhal
Posts:127
Joined: Wed Nov 12, 2014 8:04 am

Re: SVG not working after Update

Post by Andorhal »

Hello.

Seems to be a regression on Qt side:
https://bugreports.qt.io/browse/QTBUG-101698

We will integrate the mentioned 5.15.11 with the next patch and hope the issue will be gone.

Best regards.

dbindernagel
Posts:161
Joined: Mon Feb 23, 2015 1:34 pm

Re: SVG not working after Update

Post by dbindernagel »

Thank You!

3 posts • Page 1 of 1