Bug 118392 - Document watermark takes over the whole document
Summary: Document watermark takes over the whole document
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX Page-Watermark
  Show dependency treegraph
 
Reported: 2018-06-26 13:37 UTC by Lior Kaplan
Modified: 2020-09-21 14:04 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
screen shot from MS Office 2013 (72.62 KB, image/jpeg)
2018-06-26 13:38 UTC, Lior Kaplan
Details
screen shot from LibO 5.1.6 (109.78 KB, image/png)
2018-06-26 13:39 UTC, Lior Kaplan
Details
testcase document (248.17 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-06-26 13:41 UTC, Lior Kaplan
Details
PDF export of the testdoc MS Office 2013 (847.04 KB, application/pdf)
2018-06-26 13:43 UTC, Lior Kaplan
Details
Results of test showing number of pages (108.56 KB, application/vnd.oasis.opendocument.text)
2018-06-26 21:04 UTC, Susan Gessing
Details
Watermark issue screenshot from 6.0 (160.89 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-06-27 21:41 UTC, Susan Gessing
Details
Watermark issue screenshot from 6.2 (134.00 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-06-27 21:41 UTC, Susan Gessing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lior Kaplan 2018-06-26 13:37:26 UTC
Description:
I'm trying to Open this document from Isreal's innovation autority and while it looks fine in MS Office 2013 in LibO it gets completely proportional (50 pages instead of 14).

Steps to Reproduce:
Problematic file at https://innovationisrael.org.il/sites/default/files/field/forms/%D7%91%D7%A7%D7%A9%D7%94.%D7%9B%D7%9C%D7%9C%D7%99_0%20%283%29.docx taken from https://innovationisrael.org.il/content/%D7%98%D7%95%D7%A4%D7%A1-%D7%91%D7%A7%D7%A9%D7%94-%D7%9B%D7%9C%D7%9C%D7%99 (the pages mentions the document was last changed at October 15, 2017).

Just open the file and notice the text location and number of pages.



Actual Results:
the text and input fields are very distant due to not parsing the elements correctly.

Expected Results:
similar to MS Office


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Lior Kaplan 2018-06-26 13:38:11 UTC
Created attachment 143129 [details]
screen shot from MS Office 2013
Comment 2 Lior Kaplan 2018-06-26 13:39:28 UTC
Created attachment 143130 [details]
screen shot from LibO 5.1.6

Also looks the same on newer versions like 6.0.x
Comment 3 Lior Kaplan 2018-06-26 13:41:28 UTC
Created attachment 143131 [details]
testcase document
Comment 4 Lior Kaplan 2018-06-26 13:43:07 UTC
Created attachment 143132 [details]
PDF export of the testdoc MS Office 2013
Comment 5 Timur 2018-06-26 14:36:29 UTC
Problem is: MSO opens this older DOCX as 14 pages, but if saved there than it opens many pages more. 
So, I'm not sure anything will ever be solved with this file.
Comment 6 Susan Gessing 2018-06-26 21:04:57 UTC
Created attachment 143151 [details]
Results of test showing number of pages

Performed test and the file opened with more pages (21) than it does in Word as mentioned in the bug description. In my case, I use Word 2016, fyi.
Comment 7 Lior Kaplan 2018-06-27 08:00:01 UTC
Thanks Timur and Susan. Could you attach the file saved in later versions? Does it affect the number of page in LibO?

The problem is layout of the document, which symptoms as increased number of pages. Compare how is it seen in MS Word to LibO - the "2004" background is misplaced completely and the text elements appear in different location.
Comment 8 Susan Gessing 2018-06-27 21:41:05 UTC
Created attachment 143175 [details]
Watermark issue screenshot from 6.0
Comment 9 Susan Gessing 2018-06-27 21:41:46 UTC
Created attachment 143176 [details]
Watermark issue screenshot from 6.2
Comment 10 Xisco Faulí 2018-07-02 22:48:14 UTC
Hi Lior,
Could it be possible to create a minimal document illustrating the problem you're refering?
Comment 11 Timur 2020-09-21 11:17:46 UTC
MSO 2016 opens this older DOCX as 14 pages, but if resaved and reopened in MSO than it opens many pages more, maybe infinite. 
I also tried to save only 1st page in MSO, it opens 38 pages. 
Rarely but sometimes we have such situations and choice is to close the bug. 
Hard and practically impossible for LO to emulate different Lo behavior. 
If you disagree feel free to reopen, but only if explanation is provided or if attached some minimal docx which behaves properly in MSO if resaved.