Attached are 3 files:
A docx file
A Screenshot showing the file opened in Writer
A pdf of the same file created by Microsoft Office
You will see in the pdf that page 2 begins with a section in a box. However, the screenshot shows that writer has attempted to put the box at the foot of page 1 and all of the text appears to be in one line.
Steps to Reproduce:
1.Open the attached docx file in Writer
Examine the bottom of page 1
The box, with all its contained text is 'squashed' at the bottom of page 1
There should be a box containing text on page 2 (as shown in the attached pdf file
User Profile Reset: No
Build ID: 18.104.22.168-3.fc32
Created attachment 167355 [details]
DOCX file displaying problem
Created attachment 167356 [details]
Screenshot showing badly formatted document
Created attachment 167357 [details]
PDF file created by Microsoft Word
This PDF shows what the document should look like.
Version: 22.214.171.124.0+ (x86)
Build ID: 5f01fe15eb2661f1f9ce12d1d99dc2a705b462ee
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win;
Locale: nl-NL (nl_NL); UI-Language: en-US
Build ID: c30963b8b4bbbe42a24b97aafa161eff9d7ccdd4
CPU threads: 4; OS: Windows 6.3; UI render: default;
Locale: nl-NL (nl_NL); Calc: CL
and in (bit slightly different)
Build ID: 3c2231d4aa4c68281f28ad35a100c092cff84f5d
CPU Threads: 4; Versie besturingssysteem:Windows 6.2; UI Render: standaard;
Locale: nl-NL (nl_NL); Calc: CL
but looks fine in
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
i was able to reproduce this issue,I will try to bibisect this later.
Seems like this started in 5.0 with:
author László Németh <firstname.lastname@example.org> 2015-05-13 17:47:36 +0200
committer László Németh <email@example.com> 2015-05-13 18:10:45 +0200
tdf#91260: allow textboxes extending beyond the page bottom
@Attila, Daniel: maybe one more for you?
(In reply to NISZ LibreOffice Team from comment #6)
> @Attila, Daniel: maybe one more for you?
We'll see when we can get to it. Probably no sooner than next year though.
By the way, can someone make a Writer vs Word comparison screenshot to make the bug more obvious? Thank you!
*** Bug 142542 has been marked as a duplicate of this bug. ***
(In reply to Dániel Arató (NISZ) from comment #7)
> By the way, can someone make a Writer vs Word comparison screenshot to make
> the bug more obvious? Thank you!
Comment 2 and comment 3 together fairly clearly show the problem I think.
It looks like the docx file in the original description was created with an old version of MS Word. If you open the document in the current version of Word and save it to docx again, then open the new document in Writer, you'll find that the layout is correct.
Created attachment 177837 [details]
The problem in Writer 7.4
As my attachment shows the only problem is that, the anchor (from where the position is calculated) is on the first page, and that is why the textbox positioned to the bottom of the first page. Both program (Word, and Writer) has anchors and the rendering is depends on its position. The difference is only with the method of calculating spaces in the two program, and that will be different surely in the future too. Not really think it is a regression, and sure this is not from me.
Created attachment 177840 [details]
DOCX compared in MSO LO
(In reply to Dániel Arató (NISZ) from comment #10)
> It looks like the docx file in the original description was created with an
> old version of MS Word.
If unzipped it says in LO 6.4.7. Normally, we need to have ODT that we can save as DOCX, it's wrong to report with LO DOCX.
But in this case MSO opens it properly and behavior is the same with MSO saved DOCX, so we can use it.
> If you open the document in the current version of
> Word and save it to docx again, then open the new document in Writer, you'll
> find that the layout is correct.
I don't confirm this. It's still wrong. Yes, difference became obvious because text height is not the same, so anchor in LO is on the 1st page. But that's irrelevant.
Issue is: should text box at the bottom of page be shown on that page, as is in LO now, or go to the following page, as MSO does.
*But* LO also moves it to the following page if anchor type is changed in the dialog box, even if reverted to "To character" before clicking OK.
So maybe a layout issue, not a regression, but not sure here.