Created attachment 194098 [details] The right hand image jumps to margin when moved In the attached .docx, if I touch the right hand image with the mouse, the image jumps to the right hand margin and can only be put back by setting the position in the Properties dialogue. Expected behaviour: the image can be dragged and placed in a new location and stay where it is placed. Issue arose in https://ask.libreoffice.org/t/positioning-images-of-different-sizes-and-shapes-side-by-side-and-setting-default-text-padding-to-0-2cm/105752/4 UnstableImages.docx created in Word 2010 for this report following this question: "Every time I add the second image to the right of another image it snaps to the right edge of the page." Same behaviour seen in 6.4.7.2 Version: 24.2.3.2 (X86_64) / LibreOffice Community Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win Locale: en-NZ (en_NZ); UI: en-GB Calc: CL threaded
I got the same behavior but then I was able to drag the image by: 1. right clicking the image 2. select "Properties" 3. Under the "Anchor" option I select "To page" tested on: Version: 24.2.3.1 (X86_64) / LibreOffice Community Build ID: fc604d5980a783e74808a001f1918a603d920494 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
I reproduce this in a recent daily build: Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: b860aea9d6f8ac46f6d2575ead25337495ec9a88 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: CL threaded Also in libreoffice-4.4.0.3, but not in libreoffice-4.3.0.4 -> regression. Bibisected with linux-43max repo to first bad build [6c9f891c30f7d4c59e35b1c34eec3ee7268353f2] which points to: commit 3c873206a9450058a11ab87cab5942d319c75c82 author Luboš Luňák Thu Aug 07 21:24:01 2014 +0200 committer Luboš Luňák Thu Aug 07 21:46:51 2014 +0200 fix picture jumping to incorrect X position after dragging Observations: - Saving as ODT does not help. - Anchoring to paragraph does not help. - Dropping the image over the left-hand-side image does move it somewhat to the left. - Moving the left-hand-side image ("Picture 3") away from the left margin resolves the issue: the anchor of the problematic image ("Picture 1") is shown on the left margin while dragging. Reviewing the other reports bibisected to the same commit, I see it as the same issue as bug 139232: pushed to the right margin when another image is to its left. *** This bug has been marked as a duplicate of bug 139232 ***