Bug 61363 - [docx] Huge header image (not seen in MSWord) takes over page in LO.
Summary: [docx] Huge header image (not seen in MSWord) takes over page in LO.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX
  Show dependency treegraph
 
Reported: 2013-02-23 17:56 UTC by Florian Reisinger
Modified: 2023-03-27 03:19 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Testkit (.zip) (2.39 MB, application/zip)
2013-02-23 17:56 UTC, Florian Reisinger
Details
PDFs showing output rendering under v3304, v3462, v3572, v3672, v4062, and v4132. (2.09 MB, application/zip)
2013-12-06 12:31 UTC, Owen Genat (retired)
Details
office docx document for import testing (1.21 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-06-03 11:39 UTC, jean-paul
Details
tdf61363_hiddenImage.docx: reduced example, modified in MSWord 2003 (41.03 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-11-02 11:36 UTC, Justin L
Details
tdf61363_hiddenImage-Word2003.pdf: it is an empty-looking page in MS Word (4.72 KB, application/pdf)
2021-03-26 18:56 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Reisinger 2013-02-23 17:56:07 UTC
Created attachment 75417 [details]
Testkit (.zip)

Download Testkit

1) Original document and output of 
LibO 3.5.5.3 Portable | 4.0.0.3 | 4.0.1.1 | 4.1.0.0.alpha0+ | Word 2010 tested on Windows 7 x64:

Compare (for example... Other things are more obvious):
Number of pages:
3553: 15
4003: 54
4011: 54
4100a+ : 47
Word 2010: 14

Page of the list of content:
3553: 4
4003: 1
4011: 1
4100a+ : 1
Word 2010: 2

Images on page 1:
3553: 2 (false one)
4003: 3
4011: 3
4100a+ : 3
Word 2010: 2

On which page is the yellow picture (P1 Word 2010)
3553: 3
4003: 1 (On top of list of content...)
4011: 1 (On top of list of content...)
4100a+ : 1 (On top of list of content...)
Comment 1 Florian Reisinger 2013-02-23 17:57:56 UTC Comment hidden (obsolete)
Comment 2 Florian Reisinger 2013-02-23 17:59:42 UTC Comment hidden (obsolete)
Comment 3 Owen Genat (retired) 2013-12-06 12:31:30 UTC
Created attachment 90353 [details]
PDFs showing output rendering under v3304, v3462, v3572, v3672, v4062, and v4132.

I have tested rendering on screen and export to PDF of the provided DOCX under Ubuntu 10.04 x86_64 running:

- v3.3.0.4 OOO330m19 Build: 6
- 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.3.2 Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a

Resultant PDFs are attached to add to the initial set. Number of pages: (a) initially indicated in status bar upon opening document; (b) after waiting for pagination update; (c) after paging to document end:

v3.3.0.4: (a) 19; (b) 19; (c) 15.
v3.4.6.2: (a) 19; (b) 19; (c) 19.
v3.5.7.2: (a) 19; (b) 15; (c) 15.
v3.6.7.2: (a) 18; (b) 55; (c) 55.
v4.0.6.2: (a)  8; (b) 54; (c) 54.
v4.1.3.2: (a) 19; (b) 49; (c) 49.

On screen rendering, as originally reported, is and remains a mess.
Comment 4 Owen Genat (retired) 2013-12-06 12:34:34 UTC
As a result of comment #3, confirmed. Status set to NEW. Version set to Inherited From OOo as even v3.3.0.4 exhibits filter issues.
Comment 5 jean-paul 2014-06-03 11:39:37 UTC
Created attachment 100354 [details]
office docx document for import testing
Comment 6 jean-paul 2014-06-03 12:00:01 UTC
Attached .docx document can't be correctly opened with libreoffice version 4.2.x
Viewed document has only one page corresponding to nothing

Attached .docx document can be open with libreoffice version 3.5.5 and can be saved as .docx, .doc or .odt document

Saved .docx has significant differences with original one, including page number when opened with libreoffice 4.2, as it has with libreoffice 3.5
Open page count updates when browsing to the end of document.

Saved .doc has no page count bug, and look fine when opened with LO 3.5. Still has some formating issues with LO 4.2

Saved .odt (with LO 3.5.5) looks like .doc with both LO version
Comment 7 Florian Reisinger 2014-06-04 15:01:54 UTC
Comment on attachment 100354 [details]
office docx document for import testing

Tested on Win7 x64 with Version: 4.4.0.0.alpha0+
Build ID: c0190efe9e2e27bd60fbf7e35a698e1e3c4ef77c
TinderBox: Win-x86@39, Branch:master, Time: 2014-06-02_07:51:43

Tested with doc from testkit.zip
Number of pages: (a) initially indicated in status bar upon opening document; (b) after waiting for pagination update; (c) after paging to document end:
a)19 b)19 (scrolling down a bit:49) c)49
Page of the list of content: 2-4
Images on page 1: 2
On which page is the yellow picture (P1 Word 2010): 1
https://bugs.freedesktop.org/attachment.cgi?id=100354 has 1 page in LibO and 32 in Word and looks totally different, would be nice to have a own bug for that
(opened #79639, marked attachment obsolete)
Comment 8 QA Administrators 2015-06-08 14:42:40 UTC Comment hidden (obsolete)
Comment 9 Buovjaga 2015-08-02 10:19:24 UTC
Now the first page is ok, but the header image problem and the page splitting problem remain.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 902255645328efde34ddf62227c8278e8dd61ff0
TinderBox: Win-x86@39, Branch:master, Time: 2015-07-30_03:52:07
Locale: en-US (fi_FI)
Comment 10 QA Administrators 2016-09-20 10:21:32 UTC Comment hidden (obsolete)
Comment 11 Justin L 2017-11-02 11:36:52 UTC
Created attachment 137453 [details]
tdf61363_hiddenImage.docx: reduced example, modified in MSWord 2003

The main problem remaining in this document is that an "as character" image in the header shows up in LO, but is hidden in MSWord.

In Word, you can see the image by going into the header, and pressing delete once.  Good luck Tamas.
Comment 12 QA Administrators 2019-02-10 03:43:59 UTC Comment hidden (obsolete, spam)
Comment 13 Justin L 2020-04-11 17:40:02 UTC
confirmed: hugh image in header seen in LO 7.0 master.
Comment 14 Justin L 2021-03-26 18:56:39 UTC
Created attachment 170772 [details]
tdf61363_hiddenImage-Word2003.pdf: it is an empty-looking page in MS Word

Yes, the document from comment 11 just looks like a normal, empty page in Word.  (I added some text to show where the relative size of the header/body.)
Comment 15 Justin L 2021-03-26 18:58:19 UTC
... and I forgot to say: repro 7.2+ (despite some fixes related to not showing images outside of document boundaries.)
Comment 16 QA Administrators 2023-03-27 03:19:53 UTC
Dear Florian Reisinger,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug