Bug 138492 - [Docx] Missing Picture on second page
Summary: [Docx] Missing Picture on second page
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOCX-Images
  Show dependency treegraph
 
Reported: 2020-11-25 14:10 UTC by Rhys Young
Modified: 2024-07-19 07:39 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The test file (1.26 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-11-25 14:12 UTC, Rhys Young
Details
The example file in Writer 4.2 and 4.3 (409.84 KB, image/png)
2020-11-25 16:40 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rhys Young 2020-11-25 14:10:40 UTC
Description:
Missing picture on second page that should be displayed.

Steps to Reproduce:
1. Open docx in word
2. See that second page has a image
3. Open in latest LO, see there is only one page and second page(image) is missing.

Actual Results:
No second page exists (images are missing).

Expected Results:
Second page should appear normally.


Reproducible: Always


User Profile Reset: No



Additional Info:
n/a
Comment 1 Rhys Young 2020-11-25 14:12:29 UTC
Created attachment 167566 [details]
The test file
Comment 2 NISZ LibreOffice Team 2020-11-25 16:40:15 UTC
Confirming with

Version: 7.2.0.0.alpha0+ (x64)
Build ID: cb084f475db33a2cfc62bc9c8de37b8c3c87b3c7
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

Also happens in older versions, checked 6.0, 5.0 to have the same problem.
Started in: 
Version: 4.3.0.4
Build ID: 62ad5818884a2fc2e5780dd45466868d41009ec0

Was fine in:
Version: 4.2.0.4
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71
Comment 3 NISZ LibreOffice Team 2020-11-25 16:40:45 UTC
Created attachment 167572 [details]
The example file in Writer 4.2 and 4.3
Comment 4 NISZ LibreOffice Team 2020-11-25 19:19:16 UTC
Seems this started with:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=72a4987434368bfb0b15f5ebb70a52108d349d5f

author	Bjoern Michaelsen <bjoern.michaelsen@canonical.com>	2014-03-15 16:25:41 +0100
committer	Björn Michaelsen <bjoern.michaelsen@canonical.com>	2014-03-17 10:01:32 +0000

fdo#47355: partially revert c5a8a2c3cbcee0175127a0662e3d820ea4deea22

Adding CC to: Björn Michaelsen
Comment 5 Gabor Kelemen (allotropia) 2021-04-30 08:08:07 UTC
Problematic image is anchored As Character, with the previous image pushing it to the next page (or outside of visible area).

Bug #125469 is about similarly anchored images slipping on top of each other.
Comment 6 Justin L 2023-03-16 17:56:16 UTC
This will be a layout issue I presume.
Comment 7 Mike Kaganski 2024-04-08 07:23:28 UTC
Can't repro in today's master - I could fix this in bug 160526.
Comment 8 Buovjaga 2024-07-19 07:39:30 UTC
(In reply to Mike Kaganski from comment #7)
> Can't repro in today's master - I could fix this in bug 160526.

Verified with linux-64-24.8