[Libreoffice-bugs] [Bug 119191] FILEOPEN, FILESAVE The object rotates and switches position to a different cell everytime I Open/Close again.
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Nov 18 18:30:30 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=119191
Regina Henschel <rb.henschel at t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rb.henschel at t-online.de
--- Comment #6 from Regina Henschel <rb.henschel at t-online.de> ---
The problem still exists in Version: 6.5.0.0.alpha0+ (x64)
Build ID: 3a8d16ba8ca7ef7349e893f2bf1c7e12d9a8d7ae
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: default; VCL: win;
Locale: de-DE (en_US); UI-Language: en-US
Calc: CL
The problem is triggered in drw.layer.cxx#1041 with the call
pObj->SetSnapRect(rData.getShapeRect());
The error itself is in svdoashp.cxx#1464
void SdrObjCustomShape::NbcSetLogicRect( const tools::Rectangle& rRect )
{
maRect = rRect;
ImpJustifyRect(maRect);
InvalidateRenderGeometry();
AdaptTextMinSize();
SetRectsDirty();
SetChanged();
}
Here the to be "Snap"-Rectangle rRect is directly copied to maRect, which is
the "Logic"-Rectangle of the custom shape. A "Logic"-Rectangle is the rectangle
of the shape without rotation and shearing and "Snap"-Rectangle is including
rotation ans shearing.
We had some discussion, see
https://lists.freedesktop.org/archives/libreoffice/2019-November/083710.html
I thought it would be possible to solve it, by changing the callers to use a
logic rectangle as input and have adapted two places. But it seems, there exist
much more situations. So I need to re-think, how to solve the problems directly
in SdrObjCustomShape::NbcSetLogicRect.
--
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/20191118/649a86b9/attachment.html>
More information about the Libreoffice-bugs
mailing list