Bug 150835

Summary: FILESAVE RTF Images in table jump out of table in Word
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: ilmari.lauhakangas
Priority: medium Keywords: filter:rtf
Version: 4.0.0.3 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=140302
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 113365    
Attachments: The example file saved as RTF by Writer
The original file in Writer, with its RTF version in Word

Description Gabor Kelemen (allotropia) 2022-09-06 19:13:16 UTC
Created attachment 182270 [details]
The example file saved as RTF by Writer

This is related to bug 140302

When the example file there attachment 169630 [details] is saved to RTF format and opened in Word, the two images in the table on the first page jump out of the table and appear incorrectly on top of each other.

1, Open attachment 169630 [details] in Writer
2, Save as RTF, then open it in Word
3, Compare how the two blue images in the table on the first page appear in Word.

Note: in Word, turning on the "Layout in table cell" option (Format Picture - Layout tab - Advanced - Position tab) seems to put them back in their original place in the table.

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: dc92a4d973086ce8a6a5f75ba0f4d4c9ca05537a
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded

Also happens with 7.0, 6.0, 5.0, 4.0. In 3.6 all the images were exported anchored as character, which looked more like the original in case of these, but not in case of the other images in the file.
Wouldn't call this a regression.
Comment 1 Gabor Kelemen (allotropia) 2022-09-06 19:14:29 UTC
Created attachment 182271 [details]
The original file in Writer, with its RTF version in Word
Comment 2 Timur 2022-09-13 08:41:21 UTC
I didn't test, waiting for a fix to come to repo, please test with fix.
Comment 3 Buovjaga 2023-02-03 14:20:48 UTC
Repro and confirmed with office.com

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 52ebc632b3cfa122dcb178cf28d8dbc7c7c57007
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 3 February 2023