[Libreoffice-bugs] [Bug 139232] Image refuses moving or jumps to unexpected position when attempting to move the image with arrow keys

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 25 21:37:37 UTC 2020


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

--- Comment #1 from Telesto <telesto at surfxs.nl> ---
Created attachment 168492
  --> https://bugs.documentfoundation.org/attachment.cgi?id=168492&action=edit
Bibisect log

Bisected to:

author  Luboš Luňák <l.lunak at collabora.com>     2014-08-07 21:24:01 +0200
committer       Luboš Luňák <l.lunak at collabora.com>     2014-08-07 21:46:51
+0200
commit  3c873206a9450058a11ab87cab5942d319c75c82 (patch)
tree    080f74b74ea9cf7c239294235747dca531c5faba
parent  5554be7f4cddcfeb450bfe41d0b588c8e8f6de76 (diff)
fix picture jumping to incorrect X position after dragging
If a picture anchored to character is dragged vertically, it can actually
jump to the left, even though X should stay the same. This change
basically reverts part of 5ddd93f4f90b3627a0ba63b62a5367c5e6c112a1.
I haven't figured out how this GetBaseOfstForFly() actually works, but
I'm reasonably sure that the relative X offset introduced by it
in SwFlyAtCntFrm::SetAbsPos() is not undone anywhere in SwFlyFrm::ChgRelPos()
or otherwise acted upon, it simply causes relative X position change, even
though
the absolute position remained the same.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=3c873206a9450058a11ab87cab5942d319c75c82

-- 
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/20201225/b10d68ae/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list