Bug 151727 - Writer: show correct page numbers in "web" view
Summary: Writer: show correct page numbers in "web" view
Status: RESOLVED DUPLICATE of bug 67698
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.2.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-24 09:10 UTC by J22Gim
Modified: 2022-10-24 12:59 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J22Gim 2022-10-24 09:10:05 UTC
Description:
When the user is writing a document in Writer, the View -> Web mode is sometimes convenient to avoid seeing repetitive sections (eg headers, footers, etc.). The problem is that the user loses track of how many pages the document has. 

In my opinion this is a bug, because the state bar information now will show 'Page 1 of 1' even when the document has many pages... Thus Writer is showing erroneous information.


Steps to Reproduce:
1. open a writer document and populate it with content until you have many pages
2. the state bar (bottom left) shows the number of pages
3. now switch to Web view (go to View -> Web)

Actual Results:
now Writer reports 1 page in the status bar, even when the page number is not one.

Expected Results:
Writer should show the correct number of pages the document has, irrespective of the current View mode 


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.4.2.3 / LibreOffice Community
Build ID: 40(Build:3)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.4.2~rc3-0ubuntu0.22.04.1~lo1
Calc: threaded
Comment 1 V Stuart Foote 2022-10-24 12:59:31 UTC
as noted from dupe(s):

Writer Web view can not paginate as Writer print/normal layout will. HTML has no concept of a page as the document will fill the available buffer--not by screens, not by physical page. 

Page numbers in Web view are recalculated against a 10 meter page size [1], while paragraphs reflow with no margins to extent of canvas exposed in the app frame at any selected zoom.

=-ref-=
[1] https://opengrok.libreoffice.org/xref/core/sw/source/core/inc/frmtool.hxx?r=ebe1f639#54

*** This bug has been marked as a duplicate of bug 67698 ***