Bug 135003 - Image in exported DOC moves the wrong direction (jump right when pressing down)
Summary: Image in exported DOC moves the wrong direction (jump right when pressing down)
Status: RESOLVED DUPLICATE of bug 139232
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOC-Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2020-07-21 09:19 UTC by Telesto
Modified: 2024-05-30 01:25 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file ODT for export to DOC (10.85 MB, application/vnd.oasis.opendocument.text)
2020-07-21 09:22 UTC, Telesto
Details
Example file DOC exported with 7.1 (10.99 MB, application/msword)
2020-07-21 09:23 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-21 09:19:53 UTC
Description:
Image moves the wrong direction (jump right when pressing down)

Steps to Reproduce:
1. Open the attached file
2. Scroll to the last page
3. Select the image belleten"
4. Press arrow down twice -> image jump to the right

Actual Results:
Image moves to the right

Expected Results:
Down


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 52820b52b3bca45e2db527d1cc5f4488b2e0b9d0
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

no repro with
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 27aa4b16bf704d0246595750daf57b57ff2577b3
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Telesto 2020-07-21 09:22:21 UTC
Created attachment 163349 [details]
Example file ODT for export to DOC
Comment 2 Telesto 2020-07-21 09:23:00 UTC
Created attachment 163350 [details]
Example file DOC exported with 7.1
Comment 3 Telesto 2020-07-21 09:26:27 UTC
The initial range is wrong (mixed doc/odt together)

Pressing down working properly in 4.2 with the DOC file

going wrong in 4.4.7.2
Comment 4 Buovjaga 2021-01-26 09:53:37 UTC
Bibisected with Linux 44max to https://git.libreoffice.org/core/commit/3c873206a9450058a11ab87cab5942d319c75c82
fix picture jumping to incorrect X position after dragging

Adding Cc: to Luboš Luňák

I just used the attached DOC when I tested.

The image to be moved is Image24, which is the cover of a book with the title Belleten.
Comment 5 QA Administrators 2023-01-27 03:25:29 UTC Comment hidden (obsolete, spam)
Comment 6 Justin L 2023-06-01 00:52:00 UTC
repro 7.6+
I imagine the difference is some compatibility flag relating to wrapping, as well as having multiple flies to contend with when the anchor moves down to the next empty paragraph.
Comment 7 Stéphane Guillou (stragu) 2023-10-24 14:18:27 UTC
Reproduced with DOC exported with recent trunk build:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: fd69b546ad36452560cb11ccb28e78632d65f045
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Does not happen if saved as DOCX.
Comment 8 Stéphane Guillou (stragu) 2024-05-30 01:25:26 UTC
It think this is also a duplicate of bug 139232. The issue happens in all formats, but in this particular case, the DOC export filter changes some properties, e.g. the anchoring of drawing object "Şekil7" changes from "To Paragraph" to "To Character". There's likely various other changes happening, but can't pinpoint what exactly it is.

In any case, one can test with:
- save as DOC
- save DOC as ODT
- move the picture in that new ODT: also reproduced

*** This bug has been marked as a duplicate of bug 139232 ***