https://bugs.documentfoundation.org/show_bug.cgi?id=138945
Bug ID: 138945
Summary: Setting width of rotated custom shape results in wrong
rotation angle
Product: LibreOffice
Version: Inherited From OOo
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Draw
Assignee: [email protected]
Reporter: [email protected]
Blocks: 137033
Created attachment 168196
--> https://bugs.documentfoundation.org/attachment.cgi?id=168196&action=edit
file with custom shape (blue) and legacy rectangle (red)
Open attached document. It contains a custom shape (blue fill) and legacy
rectangle (red). Both were original at position (45mm|40mm) and have size 70mm
x 40mm. The they got a shear with 45° shear angle and after that a rotation
with 330° rotation angle in dialog "Position&Size".
Mark the custom shape. Open "Position&Size" dialog. Make sure "Keep ratio" is
not checked. Set width of the object to 200mm with base point left/top.
Mark the legacy rectangle and do the same.
Notice, the legacy rectangle is correctly stretched in horizontal direction.
The custom shape is stretched too, but has got a wrong rotation.
If you mark the custom shape, you will notice, that its handles do not match
the outline of the shape. It is not a pur rendering problem, the wrong shape
geometry is saved to file.
I suspect, that the error is, that the member fObjectRotation is not updated to
the changed rotation angle in SdrObjCustomShape::NbcResize.
The error is very old, but I have not found a bug report. It might have not
been detected yet, because drag-resize at the corner of a custom shape always
uses "keep ratio". So it can only be reproduced in the UI, when using the
dialog.
This bug prevents fixing bug 137033.
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=137033
[Bug 137033] FILESAVE Shape anchored to "cell with resize" has wrong end offset
if its area contains a hidden row
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs