[Libreoffice-bugs] [Bug 121963] button flashing - mouse wheel zooming breaks

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 1 12:50:08 UTC 2019


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

--- Comment #49 from Armin Le Grand <Armin.Le.Grand at me.com> ---
The embedding to TransformPrimitive2D is indeed created by
ViewObjectContact::getPrimitive2DSequence and taking
supportsGridOffsets/getGridOffset into account - what is completely corect and
core element of the change.
What seems wrong OTOH is more that in
ViewObjectContactOfUnoControl_Impl::positionAndZoomControl the GridOffst is
*not* taken into account -> need to add that.
Made a 1st rough try in adding to _rViewTransformation, but this would add it
double in the non-EndRepaint stuff. Thus the logically correct thing to do is
probably to not use

                const tools::Rectangle aRect( pUnoObject->GetLogicRect() );

in ViewObjectContactOfUnoControl_Impl::positionAndZoomControl, but to get the
B2DRange from the SeqOfPrim which will then correctly include the offset...

-- 
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/20191101/00003ec7/attachment.html>


More information about the Libreoffice-bugs mailing list