Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.6.0
-
None
-
Qt-4.6.0, Linux, GCC 4.3.x
Description
Hi, I reported this bug long before the DevDays last year. Somehow it seems to have gotten lost. If not...sorry for this repeat, but I could not find it anywhere in the database.
The problem is, I load a SVG file into a QDomDocument. Without doing anything I write it out with QDomDocument::toByteArray. I'd expect that since I did nothing with the SVG structure it would render exactly the same as an SVG file, which I load directly into QSvgRenderer. This is not what happens.
I attach an example program. A simple button. The pressed button image is loaded directly into the QSvgRenderer, the relased button is loaded via a QDomDocument. I'd expect that pressed an released buttons look the same and are undistinguishable. However, as you can see, the label is jumping back and forth.