[Libreoffice-bugs] [Bug 131523] FILEOPEN Rectangle in SVG has wrong selection rectangle

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 25 01:27:25 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=131523

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de

--- Comment #3 from Regina Henschel <rb.henschel at t-online.de> ---
I think it opens correctly.

The outer svg-element has width="28" and height="4", which determines the total
size.

Inside you have a group element with transform="translate(0, -296)" and therein
the rectangle with x="2", y="298", width="24", height="2".
After applying the transformation to the rectangle, it has position x="2",
y="2".
Drawing it into an area given by the outer svg-element results in a white area
of height 2 above the rectangle and a white area of width 2 left and right of
the rectangle. So the entire svg image is larger than the pure rectangle.

If you "open" an svg image, the document has exactly the size of the svg image,
which is width="28" and height="4" in this case. Clicking on the image will
always select the entire image and not a part of it. Only if you "Break" an svg
image, it will be converted into a collection of its child elements. Then you
can select the rectangle itself.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200325/c23bf197/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list