Bug 129972 - WINDOWS EXPLORER: Number of pages of an odf-file are not shown in the folder
Summary: WINDOWS EXPLORER: Number of pages of an odf-file are not shown in the folder
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Desktop-Integration
  Show dependency treegraph
 
Reported: 2020-01-13 07:57 UTC by bokeye
Modified: 2023-11-05 04:51 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 bokeye 2020-01-13 07:57:01 UTC
Description:
In each folder of Windows 10 computer you can change, what the columns show. They show normally the date and size of the files. If the LibreOffice Writer document is in a folder and i want to show how many pages my LibreOffice document have, it does not work.

Actual Results:
Its shows nothing.

Expected Results:
It shows the number of pages of the LibreOffice Writer.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Dieter 2020-01-13 12:07:44 UTC
I confirm it, that it isn't possible with LO but with MS Word (also if you save LO-file as docx.

Not sure, if this is a bug or an enhancement request. I'm also not sure, if it is a bug of LO or not.
Comment 2 Dieter 2021-11-24 16:35:53 UTC
Still present in

Version: 7.2.3.2 (x64) / LibreOffice Community
Build ID: d166454616c1632304285822f9c83ce2e660fd92
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
Comment 3 Tex2002ans 2023-11-05 04:51:19 UTC
Reproduced in:

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

- - -

I went into a folder in Explorer and:

- Right-Clicked on a Column > "More..."
- Enabled "Pages" column.

I then had same file in 3 different formats:

1. DOCX from Word
2. DOCX from Word->LibreOffice
3. ODT from LibreOffice

where:

1. # of Pages showed.
2. # of Pages showed.
3. NOTHING

> I confirm it, that it isn't possible with LO but with MS Word (also if you save LO-file as docx.

Hmmm... looks like that may have been fixed since 2020, because I saw a Page # from an LO DOCX file.

!!!BUT!!!

Oddly, it was a:

- 412 page DOCX

but the "Pages" column showed:

- 217

and when I opened/resaved the Word->LibreOffice DOCX in LO again, the "Pages" column then showed:

- 370

so there is definitely SOMETHING strange going on here with how the LO metadata is calculated/saved.

In the DOCX's /docProps/app.xml file, I was able to find:

- <Pages>370</Pages>

even though LO's status bar, at the time, said "Page 412 of 412".

> Not sure, if this is a bug or an enhancement request. I'm also not sure, if it is a bug of LO or not.

Seems like it's an Enhancement Request for the ODT filter to get Page #s out of the ODT metadata.

So that Windows Explorer's "Pages" column can look inside the...

- ODT's meta.xml file

and grab the:

- meta:page-count