Bug 140532 - Writer: The page number of the document does not match the page number in the print dialog, for example, if the document starts on page 4
Summary: Writer: The page number of the document does not match the page number in the...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-19 11:37 UTC by canned
Modified: 2021-02-22 14:17 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example: Document starts on page 4 (8.81 KB, application/vnd.oasis.opendocument.text)
2021-02-19 11:39 UTC, canned
Details

Note You need to log in before you can comment on or make changes to this bug.
Description canned 2021-02-19 11:37:57 UTC
Description:
From time to time it is necessary that a document starts with a different page than 1 (e.g. it starts width page 4):

1) Why is the number of pages displayed as 3 in the attached document, although only 2 pages are visible?
2) When I want to print a single page, the page number in the document does not match the page number in the print dialog. Cf. example file : If the document starts with page 4, I have to enter page 2 in the print dialog to print it. This is very inconvenient. Ideally, the page in the print dialog should correspond to the page numbering of the document. Would this be feasible or what speaks against it?

Steps to Reproduce:
See attached example

Actual Results:
See description

Expected Results:
See description


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 1 canned 2021-02-19 11:39:02 UTC
Created attachment 169896 [details]
Example: Document starts on page 4
Comment 2 Timur 2021-02-19 15:57:07 UTC
While this looks like a bug, it's well known LO behavior. 
I don't say it's right, but there are many bugs on this. 
So it's wrong to report without search and to ask -  use ask.libreoffice.org instead. 
Please search and mark duplicate.
Comment 3 canned 2021-02-19 19:38:10 UTC
I searched but could not find anything. Maybe I was looking for the wrong keywords, but the problem is not easy to put into one sentence.

Wouldn't it be an improvement if the numbering of the document would correspond to the numbering when printing (see my 2nd question)?
Comment 5 canned 2021-02-19 21:04:28 UTC
Thank you for answering my 1st question. What do you think about my 2nd question?
Comment 6 Timur 2021-02-22 09:18:12 UTC
> 1) Why is the number of pages displayed as 3 in the attached document,
> although only 2 pages are visible?
I see Page 1 of 2 (Page 4) for the 1st page. 

> 2) When I want to print a single page, the page number in the document does
> not match the page number in the print dialog. Cf. example file : If the
> document starts with page 4, I have to enter page 2 in the print dialog to
> print it. 
I don't repro. For 1st page that starts with 4 I enter page 1.
Please add screenshot. 

Only way I think this bug has value to be confirmed is to convert to Documentation im "Selecting What to Print" , to add Note explaining that pages to print are real, not by page number.
Comment 7 canned 2021-02-22 12:40:02 UTC
Sorry, it was not smart to put two questions in one post.

For question 1, I created this post: https://bugs.documentfoundation.org/show_bug.cgi?id=140596.

This post here is supposed to be about question 2 only - as is the title of the post.
Comment 8 canned 2021-02-22 12:44:01 UTC
(In reply to Timur from comment #6)
> I don't repro. For 1st page that starts with 4 I enter page 1.

That is exactly the problem. If I have a document that consists of only a few pages, it's not a problem. But if I have a document (or many documents) that consists of very many pages, then it is very cumbersome to figure out which page number I need to type in to print a desired single page or export it as a PDF. I don't see the problem as a BUG but as a question for improvement.
Comment 9 Timur 2021-02-22 13:20:33 UTC
Please do not open bugs for questions, that is against the purpose of Bugzilla. 
First use ask.libreoffice.org. 
Bugzilla is for a precise bug with steps, experienced and expected behavior. 

Not a bug. 
As I wrote. if you see Page 2 of 123 Page X() in status bar you print 2, even if you call it 15.


Also, do not multiply bugs, other is the same issue.
Comment 10 canned 2021-02-22 13:37:59 UTC
Timur, questions 1 and 2 are NOT the same. Question 1 IS a bug, question 2 is a question for IMPROVEMENT.

Is it really a good solution to have to enter a different page in the printer dialog than the one displayed in the document? Imagine a document that for example starts from page X and contains 50 or more pages: How do you pragmatically determine the page numbers if you want to print or export to PDF only a single page or a page range (or a combination of both)?
Comment 11 Timur 2021-02-22 14:17:01 UTC
Do not reopen.