Bug 155793 - FILEOPEN Docx : Image not shown when inside a table that is near the footer
Summary: FILEOPEN Docx : Image not shown when inside a table that is near the footer
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.0.4 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Tables
  Show dependency treegraph
 
Reported: 2023-06-12 15:55 UTC by 4layq596ovwv
Modified: 2024-12-29 13:23 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
The document that, when opened in libreoffice, is missing the second image (16.59 KB, application/wps-office.docx)
2023-06-12 15:55 UTC, 4layq596ovwv
Details
Generated preview in libreoffice (which is wrong, the second image is missing) (25.26 KB, image/png)
2023-06-12 15:56 UTC, 4layq596ovwv
Details
Generated preview in Microsoft Office (correct rendering) (64.89 KB, image/png)
2023-06-12 15:57 UTC, 4layq596ovwv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 4layq596ovwv 2023-06-12 15:55:25 UTC
Created attachment 187870 [details]
The document that, when opened in libreoffice, is missing the second image

When I open the document that is attached, in libreoffice, the second image is not shown at all.

The image is inside a table, and the table has both an image and some text in the cell.

I have tested this file both with libreoffice 7.4.7.2 and with libreoffice 7.5.4.2-2, both seem to hide the second image.

You can open the file in both WPS Office and View.officeapps.live.com : https://view.officeapps.live.com/op/view.aspx?src=

For those two editors, the two images that are expected to be shown are indeed shown.
Comment 1 4layq596ovwv 2023-06-12 15:56:26 UTC
Created attachment 187871 [details]
Generated preview in libreoffice (which is wrong, the second image is missing)
Comment 2 4layq596ovwv 2023-06-12 15:57:22 UTC
Created attachment 187872 [details]
Generated preview in Microsoft Office (correct rendering)
Comment 3 Gabor Kelemen (allotropia) 2023-07-03 20:06:52 UTC
Repro in 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e4e5fb4b2935e395c7e4b3a794d544a6f44709ce
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: de-DE (hu_HU); UI: de-DE
Calc: threaded

Seems to look like this since 6.3 commit, before it was good:
https://git.libreoffice.org/core/+/8e3afdb5989d571410350f1d43fcf26492a4eaff

author	Patrick Jaap <patrick.jaap@tu-dresden.de>	Wed Jan 23 10:01:36 2019 +0100
committer	Miklos Vajna <vmiklos@collabora.com>	Tue Feb 05 14:55:01 2019 +0100
tree 047640fa43cd7b491a984612591c22aa229d9fc4
parent 8a7a93b3f24b95bfcffc25e58f9e43c7be4cc1f1 [diff]

tdf#122878: enable wrap for flys in footer
Comment 4 Buovjaga 2024-12-29 13:23:57 UTC
Now the second image is shown.

Arch Linux 64-bit
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 960db01dbfe2f916b91782da03532fae1f836445
CPU threads: 8; OS: Linux 6.12; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 29 December 2024