Bug 98958 - "Hide Whitespace" changes pagination by adding the top and bottom margins to the editing area
Summary: "Hide Whitespace" changes pagination by adding the top and bottom margins to ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.1.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Show/Hide-Whitespace
  Show dependency treegraph
 
Reported: 2016-03-29 14:08 UTC by Simo Kaupinmäki
Modified: 2022-10-04 12:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Two screenshots compared (111.44 KB, image/png)
2016-03-29 14:12 UTC, Simo Kaupinmäki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simo Kaupinmäki 2016-03-29 14:08:02 UTC
"Hide Whitespace" alters the position of automatic page breaks in the text flow, affecting the pagination. Apparently, hiding the whitespace in normal-view mode makes Writer count the entire paper height as printable area. In effect, the top and bottom margins are added to the main editing area, rather than just hidden. This seemingly creates extra space on a page, which is then filled by the first few lines from the following page, and the effect accumulates on each subsequent page.

This issue looks similar to bug 94164 and bug 94165 but specifically concerns automatic page breaks and the top and bottom margins.

Steps to reproduce:

1. Disable "View → Hide Whitespace".

2. Add dummy text so that it exceeds one page. Take note of the text right before and after the automatic page break.

3. Enable "View → Hide Whitespace". The page break, as indicated by a thin horizontal line, is now positioned a little further down as compared to the text flow.

Automatic page breaks should stay constant in relation to the text, regardless of whether the whitespace between pages is hidden or not.

Found on Windows:

Version: 5.1.1.3
Build ID: 89f508ef3ecebd2cfb8e1def0f0ba9a803b88a6d
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
Locale: fi-FI (fi_FI)

Also found on Linux with LibO installed from Debian stable backports:

Version: 5.1.1.3
Build ID: 1:5.1.1-1~bpo8+1
CPU Threads: 1; OS Version: Linux 3.16; UI Render: default; 
Locale: fi-FI (fi_FI.utf8)
Comment 1 Simo Kaupinmäki 2016-03-29 14:12:50 UTC
Created attachment 123922 [details]
Two screenshots compared

The attachment is a combination of two screenshots. On the left, a document with "Hide Whitespace" disabled and the first line on both pages highlighted in red. On the right, the same document with "Hide Whitespace" enabled, allowing the text to flow uninterrupted. However, the position of the page break is still unchanged in relation to the paper height.
Comment 2 Buovjaga 2016-04-07 11:01:28 UTC
Reproduced.

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: 7a7be32e5265f897174f3880adc061dac0203f1f
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2016-03-31_07:39:11
Locale: fi-FI (fi_FI)
Comment 3 QA Administrators 2017-05-22 13:19:29 UTC Comment hidden (obsolete)
Comment 4 Michal Suchánek 2018-11-01 22:20:52 UTC
On 6.1.3.1 the page length increases when text is added after the last line on a (non-last) page while in hide whitespace mode.
Comment 5 DarkTrick 2019-08-13 06:01:19 UTC
Confirm @ 6.4.0.0.alpha0+

This bug renders the function unusable for me.
Comment 6 QA Administrators 2021-08-13 03:55:16 UTC
Dear Simo Kaupinmäki,

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://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

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

Warm Regards,
QA Team

MassPing-UntouchedBug