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)
Version:
(earliest affected)
7.3.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles-Page Show/Hide-Whitespace
  Show dependency treegraph
 
Reported: 2022-04-06 07:17 UTC by Tex2002ans
Modified: 2022-04-23 04:47 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


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

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
Description:
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]
Test.Show.Whitespace.Page.Breaks
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: 7.3.2.2 (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: 7.3.3.1 (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