Bug 127752 - Lines cut off or hidden after reflow due to adding/removing footer in two-column page
Summary: Lines cut off or hidden after reflow due to adding/removing footer in two-col...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-CTL
  Show dependency treegraph
 
Reported: 2019-09-24 22:22 UTC by Eyal Rozenberg
Modified: 2019-09-26 10:56 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Document exhibiting the bug (21.46 KB, application/vnd.oasis.opendocument.text)
2019-09-24 22:24 UTC, Eyal Rozenberg
Details
Screenshot: Bottom line cut off after footer created (160.36 KB, image/png)
2019-09-24 22:26 UTC, Eyal Rozenberg
Details
Screenshot: Page top cut off after footer deleted (167.71 KB, image/png)
2019-09-24 22:27 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2019-09-24 22:22:37 UTC
Reproduction instruction
------------------------

1. Open the attached document. It has a Heading 2 line just before the end of the first (rightmost) column on the first page; that line's text is "Third H2 line".
2. Be in Page Layout view.
3. Scroll to the bottom of the first page.
4. Create a Footer (default settings; either using the Footer pop-up at the bottom of the page, or through the menus: Format|Page|Footer). The "Third H2 line" has reflowed to the second (leftmost) column on the first page.
5. Delete the footer (either using the drop-down menu of the Footer pop-up box, or through the menus: Format|Page|Footer).

Expected outcome
----------------

After the footer is created, all lines of text are fully rendered, somewhere.

After the footer is deleted, The "Third H2 line" is again rendered at the bottom of the first column. Also, the top of the first column, with a "First H2 line" line, is visible.

Actual outcome
--------------

After the footer is created, the bottom line of text is cut off in mid-line, i.e. only the top part of it is rendered. See attached screenshot.

After the footer is deleted, there seems to be no reflow, but rather some weird sort of up-shifting of the entire text area, of both columns. Additionally, the upper lines of the two columns are now hidden behind a white area - the margin perhaps?

If we save the document, close it and reload, the rendering is valid again.
Comment 1 Eyal Rozenberg 2019-09-24 22:24:42 UTC
Created attachment 154463 [details]
Document exhibiting the bug
Comment 2 Eyal Rozenberg 2019-09-24 22:26:16 UTC
Created attachment 154464 [details]
Screenshot: Bottom line cut off after footer created
Comment 3 Eyal Rozenberg 2019-09-24 22:27:22 UTC
Created attachment 154465 [details]
Screenshot: Page top cut off after footer deleted
Comment 4 Eyal Rozenberg 2019-09-24 22:30:20 UTC
Seen with:

Version: 6.3.2.1
Build ID: 1:6.3.2~rc1-1
CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3; 
Locale: he-IL (en_IL); UI-Language: en-US
Comment 5 Xisco Faulí 2019-09-26 10:53:40 UTC
Reproduced in

Version: 6.4.0.0.alpha0+
Build ID: 186d36a7036462ae641b35004b4ffba3eeeca46f
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 6 Xisco Faulí 2019-09-26 10:54:16 UTC Comment hidden (obsolete)
Comment 7 Xisco Faulí 2019-09-26 10:54:29 UTC Comment hidden (obsolete)
Comment 8 Xisco Faulí 2019-09-26 10:56:35 UTC
Also reproducible in

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.15; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)