Bug 50869 - FILEOPEN DOC: multiple frames anchored to single paragraph with page break - some frames show up on page 2 (comment 17)
Summary: FILEOPEN DOC: multiple frames anchored to single paragraph with page break - ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc
Depends on:
Blocks: DOC-Frames DOC-Tables
  Show dependency treegraph
 
Reported: 2012-06-07 23:36 UTC by John Smith
Modified: 2023-05-31 10:25 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The original Word 2003 document. (82.00 KB, application/msword)
2012-06-07 23:36 UTC, John Smith
Details
The first pages in microsoft word 2003. (181.07 KB, image/jpeg)
2012-06-07 23:37 UTC, John Smith
Details
The first pages in LibreOffice 3.5 (163.44 KB, image/jpeg)
2012-06-07 23:37 UTC, John Smith
Details
The original .DOC saved in MSO wihtout header and footer (76.00 KB, application/msword)
2019-09-11 10:15 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Smith 2012-06-07 23:36:33 UTC
Created attachment 62779 [details]
The original Word 2003 document.

The first pages of my Microsoft Word 2003 document display incorrectly.
Comment 1 John Smith 2012-06-07 23:37:00 UTC
Created attachment 62780 [details]
The first pages in microsoft word 2003.
Comment 2 John Smith 2012-06-07 23:37:27 UTC
Created attachment 62781 [details]
The first pages in LibreOffice 3.5
Comment 3 bfoman (inactive) 2012-06-21 06:07:05 UTC
Confirmed with:
LO 3.5.4.2 
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit

There are many problems with the document - missing data in the table, 3 pages instead of 2, misplaced objects.
Comment 4 John Smith 2012-06-25 06:46:35 UTC Comment hidden (obsolete)
Comment 5 John Smith 2012-07-26 16:21:36 UTC Comment hidden (obsolete)
Comment 6 Michail Pappas 2012-09-27 07:35:26 UTC Comment hidden (obsolete)
Comment 7 Owen Genat (retired) 2014-09-28 10:51:56 UTC
As comment 3 indicates, the attached example contains numerous errors. The main issues / aspects in the document appear to be:

- Text box placement i.e., all p.1 content as shown in MSO2003 screenshot.
- A few small tables i.e., Document/Version and main table on p.2
- Content in tables in header/footer i.e., only displaying on p.2+

The "missing data" from the main table on p.2 may be related to bug 48378. Tested under GNU/Linux using:

- v3.3.4.1 OOO330m19 Build: 401
- v3.4.6.2 OOO340m1 Build: 602
- v3.5.7.2 Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
- v3.6.7.2 Build ID: e183d5b
- v4.0.6.2 Build ID: 2e2573268451a50806fcd60ae2d9fe01dd0ce24
- v4.1.6.2 Build ID: 40ff705089295be5be0aae9b15123f687c05b0a
- v4.2.6.3 Build ID: 3fd416d4c6db7d3204c17ce57a1d70f6e531ee21
- v4.3.2.2 Build ID: edfb5295ba211bd31ad47d0bad0118690f76407d
- v4.4.0.0.alpha0+ Build ID: df73f4115cfe4d07e4159adf087571687eb173ec TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-09-25_23:06:16

Only minor changes in positioning (I hesitate to label these improvements) across these versions, indicating that the problems are yet to be addressed in any significant manner. Version set to 3.3.4. Platform to All/All.
Comment 8 QA Administrators 2015-10-14 19:57:51 UTC Comment hidden (obsolete)
Comment 9 John Smith 2015-10-15 13:28:19 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2016-11-08 11:29:27 UTC Comment hidden (obsolete)
Comment 11 John Smith 2016-11-21 09:25:27 UTC
I can still reproduce this bug with LibreOffice 5.2.3.3, running on Windows 10 Home 64-bit (Version 1607 [OS Build 14393.447]).
Comment 12 Telesto 2017-05-08 12:17:01 UTC
Repro with
Version: 5.4.0.0.alpha1+
Build ID: 274ecb49b70b3f01d47546e3b44317946c106042
CPU threads: 4; OS: Windows 6.2; UI render: default; 
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2017-05-05_22:45:07
Locale: nl-BE (nl_NL); Calc: single
Comment 13 QA Administrators 2018-10-02 02:52:14 UTC Comment hidden (obsolete)
Comment 14 Timur 2018-10-02 16:31:56 UTC Comment hidden (obsolete)
Comment 15 Timur 2019-09-11 10:15:27 UTC
Created attachment 154099 [details]
The original .DOC saved in MSO wihtout header and footer

Repro LO 6.4+, also if this .doc saved without header or footer.
Comment 16 QA Administrators 2021-09-11 03:52:32 UTC Comment hidden (obsolete, spam)
Comment 17 Justin L 2023-05-31 10:25:13 UTC
repro 7.6+ 

A. first page contains a single empty paragraph with multiple anchored frames and a page break in it. So which page these frames belongs on probably depends on whether the anchor comes before the page break or after (but not necessarily - in this case where there are ONLY frame anchors, the position of the page break is probably irrelevant). Note that all these things are in the same paragraph in MS Word - the page break is a character run. That is different from LO, where the page break is a paragraph property (like it should be).

I (somewhat) fixed some of this kind of stuff for DOCX in 7.6 and there were rather strange behaviours here. I'm not sure there is much value in trying to solve it here as well. Much better to simply fix up the document as a human being.

B. missing table data - I don't see it - especially not after "fixing" problem A.

C. Only two pages after "fixing" problem A.

So we can leave this open as low priority for problem A. It sounds to me like the DOC version of https://gerrit.libreoffice.org/c/core/+/147032