[Libreoffice-bugs] [Bug 124740] New: OOXML shape with handle and w and h attribute on path set handle position wrongly

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Apr 14 21:12:03 UTC 2019


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

            Bug ID: 124740
           Summary: OOXML shape with handle and w and h attribute on path
                    set handle position wrongly
           Product: LibreOffice
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rb.henschel at t-online.de

Created attachment 150750
  --> https://bugs.documentfoundation.org/attachment.cgi?id=150750&action=edit
A user defined shape to see the wrong behavior

Open attached document in PowerPoint. It has a shape with a custGeom, where the
path has got w and h attribute, which defines a local coordinate system (a
'viewBox'). The shape has a handle. Drag it to verify that it works.

Open the document in LibreOffice. Notice, that the handle marker is not at the
corner of the triangle. Drag the handle. The triangle changes as expected.
Release the handle. Notice, that the handle is not shown where you have
released it, but at a place left from it.

The reason is, that when LO gets the handle position from the shape, it applies
the scaling again, which is needed for fitting the outer to the inner
coordinate, although the value of the handle position is already scaled in case
of OOXML-shapes.

The "cloudCallout" is the only shape from the preset, that uses a path
coordinate system. But because of bug 115813 you cannot use it, for testing
this bug.

-- 
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/20190414/6700b63a/attachment.html>


More information about the Libreoffice-bugs mailing list