Bug 148414 - "View > Show Whitespace" Does Not Update With Page Size Change
Summary: "View > Show Whitespace" Does Not Update With Page Size Change
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Writer-Styles-Page Show/Hide-Whitespace
  Show dependency treegraph
Reported: 2022-04-06 07:17 UTC by Tex2002ans
Modified: 2024-04-23 03:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Test.Show.Whitespace.Page.Breaks (10.56 KB, application/vnd.oasis.opendocument.text)
2022-04-06 07:18 UTC, Tex2002ans
After Step 4 (68.06 KB, image/png)
2022-04-06 07:22 UTC, Tex2002ans
After Step 5+6 (68.18 KB, image/png)
2022-04-06 07:22 UTC, Tex2002ans

Note You need to log in before you can comment on or make changes to this bug.
Description Tex2002ans 2022-04-06 07:17:22 UTC
If "View > Show Whitespace" is OFF, changing the page size does not generate new page breaks.

You have to toggle the option ON/OFF to get updated page breaks.

Steps to Reproduce:
1. Open Attached ODT.
2. View > Show Whitespace (toggle it OFF)
3. Format > Page Style
4. Change Height from 11.00" to 5.00".

Notice new page breaks do not appear.

5. Toggle View > Show Whitespace (ON).
6. Toggle View > Show Whitespace (OFF).

See page breaks are now visible in proper locations.

Actual Results:
After Step 4, nothing changes.

Expected Results:
After Step 4, the new page breaks should appear.

Shouldn't matter whether "Show Whitespace" is ON or OFF initially.

- Step 1 -> OFF, 3, 4, ON, OFF

should be exactly like:

- Step 1 -> 3, 4, OFF

Reproducible: Always

User Profile Reset: No

Additional Info:
I marked the location of page breaks with text:

- There is a forced page break after this.
- Should be final line on page 2.
- Should be final line on page 3.

After Step 6, there should be visible line breaks after each of those lines.
Comment 1 Tex2002ans 2022-04-06 07:18:16 UTC
Created attachment 179337 [details]
Comment 2 Tex2002ans 2022-04-06 07:22:22 UTC
Created attachment 179338 [details]
After Step 4
Comment 3 Tex2002ans 2022-04-06 07:22:44 UTC
Created attachment 179339 [details]
After Step 5+6
Comment 4 Tex2002ans 2022-04-07 07:14:41 UTC
And whoops, I forgot to put my exact LO version:

Version: (x64) / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 5 Dieter 2022-04-23 04:47:21 UTC
I confirm it with

Version: (x64) / LibreOffice Community
Build ID: 1688991ca59a3ca1c74bc2176b274fba1b034928
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Steps to reproduce
1. Toggle "Show Whitespace" off
2. Open attachment 179337 [details] from comment 0. Document has three pages and page format is "Letter"
3. Change page format to A6. Document has still three pages although page height is reduced. (Nit Expected)
4. Toggle "Show Whitespace" on. Document now has four pages. (Expected)
5. Toggle "Sow Whitespace" off => four pages (Expected)

Actual result: 
Change of page format doesn't change number of pages

Expected result:
Same result as with "Show Whitespace" on
Comment 6 QA Administrators 2024-04-23 03:15:37 UTC
Dear Tex2002ans,

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