https://bugs.documentfoundation.org/show_bug.cgi?id=119191
Regina Henschel <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #6 from Regina Henschel <[email protected]> ---
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._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs