Bug 168972 - [DOCX] [OPEN] Page count in Writer's Property Statistics is completely wrong
Summary: [DOCX] [OPEN] Page count in Writer's Property Statistics is completely wrong
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.8.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Page
  Show dependency treegraph
 
Reported: 2025-10-20 18:32 UTC by Uncombed5936
Modified: 2025-10-21 07:13 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Document 1 in docx (1.89 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-10-20 22:41 UTC, Uncombed5936
Details
Document 1 in odt (1.91 MB, application/vnd.oasis.opendocument.text)
2025-10-20 22:42 UTC, Uncombed5936
Details
Document 2 in docx (53.69 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-10-20 22:43 UTC, Uncombed5936
Details
Document 2 in odt (67.78 KB, application/vnd.oasis.opendocument.text)
2025-10-20 22:43 UTC, Uncombed5936
Details
Screenshot of Document 1 in docx (631.60 KB, image/png)
2025-10-20 22:44 UTC, Uncombed5936
Details
Screenshot of Document 1 in odt (188.88 KB, image/png)
2025-10-20 22:44 UTC, Uncombed5936
Details
Screenshot of Document 2 in docx (144.83 KB, image/png)
2025-10-20 22:44 UTC, Uncombed5936
Details
Screenshot of Document 2 in odt (139.83 KB, image/png)
2025-10-20 22:45 UTC, Uncombed5936
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Uncombed5936 2025-10-20 18:32:35 UTC
Description:
The number of pages displayed in Writer's File | Property | Statistics is completely wrong in every document I checked. I mean far below the right number (eg 3 instead of 25). The status bar and the navigation pane show the correct number. Other stats in Properties look correct. Also, Dolphin shows the correct page count under Properties.

 
 

Actual Results:
Open File | Properties | Statistics to see the page count. 

Expected Results:
I saw the wrong page count. 


Reproducible: Always


User Profile Reset: No

Additional Info:
It should have shown the correct page count. 

Version: 25.8.2.2 (X86_64) / LibreOffice Community
Build ID: d401f2107ccab8f924a8e2df40f573aab7605b6f
CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Flatpak
Calc: threaded
Comment 1 fpy 2025-10-20 19:13:38 UTC
please attach a sample document.

see https://wiki.documentfoundation.org/QA/BugReport#Good_reports
Comment 2 Uncombed5936 2025-10-20 22:40:21 UTC
I think I see the pattern. Only docx files seem to be affected. I am uploading two documents, each in docx and odt format -- 4 files in total. I am also uploading a screenshot of each showing the page count in Statistics against the status bar.
Comment 3 Uncombed5936 2025-10-20 22:41:49 UTC
Created attachment 203456 [details]
Document 1 in docx
Comment 4 Uncombed5936 2025-10-20 22:42:33 UTC
Created attachment 203457 [details]
Document 1 in odt
Comment 5 Uncombed5936 2025-10-20 22:43:01 UTC
Created attachment 203458 [details]
Document 2 in docx
Comment 6 Uncombed5936 2025-10-20 22:43:23 UTC
Created attachment 203459 [details]
Document 2 in odt
Comment 7 Uncombed5936 2025-10-20 22:44:14 UTC
Created attachment 203460 [details]
Screenshot of Document 1 in docx
Comment 8 Uncombed5936 2025-10-20 22:44:34 UTC
Created attachment 203461 [details]
Screenshot of Document 1 in odt
Comment 9 Uncombed5936 2025-10-20 22:44:57 UTC
Created attachment 203462 [details]
Screenshot of Document 2 in docx
Comment 10 Uncombed5936 2025-10-20 22:45:19 UTC
Created attachment 203463 [details]
Screenshot of Document 2 in odt
Comment 11 fpy 2025-10-21 03:52:05 UTC
repro

Version: 25.2.6.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 4; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu package version: 4:25.2.6-0ubuntu0.25.04.1
Calc: threaded