Bug 146958 - Inconsistent page count in properties dialogue and status line
Summary: Inconsistent page count in properties dialogue and status line
Status: RESOLVED INSUFFICIENTDATA
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)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-24 11:45 UTC by Albrecht Müller
Modified: 2023-02-16 03:26 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot that shows different page counts in properties dialogue and status line (36.56 KB, image/png)
2022-01-24 11:45 UTC, Albrecht Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albrecht Müller 2022-01-24 11:45:51 UTC
Created attachment 177741 [details]
Screenshot that shows different page counts in properties dialogue and status line

In a large document the page count shown in the properties dialogue and in the status line are different (1202 vs. 1191). Expected behaviour: The number should be the same.

This may be related to bug 98698 and bug 136245 as the behaviour documented there sounds familiar to me.
Comment 1 Timur 2022-01-24 12:11:34 UTC
Did you forget to include the document, or a link to existing attachment 123?
Comment 2 Albrecht Müller 2022-01-30 18:58:00 UTC
(In reply to Timur from comment #1)
> Did you forget to include the document, or a link to existing attachment 123?

In short: No.

Long version:

The tip of an iceberg may look minor but the whole thing was able to sink the Titanic. I uploaded the screenshot as I suspect that the innocent looking discrepancy in the page count may point to a deeper problem: Writer seems to use at least two different ways to calculate the total number of pages which sometimes produce different results. This may be the cause of a couple of strange effects related to pagination, including but not limited to Bug 98698. Interestingly this report contains attachment 169503 [details] (erratic page count) which shows essentially the same effect I observe.

My screenshot is based on a document containing my collection of notes that helps me to get along with LibreOffice problems I encountered. I don't intend to upload it for the following reasons:

1) I would have to check more than 1000 pages for personal information I do not want to disclose.
2) Same for content that might infringe copyrights.
3) Last but not least: I don't want to give away the result of hundreds of working hours for free.
Comment 3 raal 2022-07-18 20:45:45 UTC
Tested both documents from bug 98698 and cannot reproduce. Number of pages in bottom bar and file properties is not different.

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 28daee8a3252e03a67484dc8d3dd26fd73af4826
CPU threads: 4; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 4 Timur 2022-07-19 09:46:13 UTC
Needinfo for precise steps with sample document. 
You may replace all chars with X to anonymize.
Comment 5 QA Administrators 2023-01-16 03:21:48 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2023-02-16 03:26:07 UTC
Dear Albrecht Müller,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp