Bug 115288 - Page numbers without hidden slides
Summary: Page numbers without hidden slides
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
: 148659 (view as bug list)
Depends on:
Blocks: Fields-Page-Number
  Show dependency treegraph
Reported: 2018-01-28 23:57 UTC by Erkki Laaneoks
Modified: 2022-04-26 08:34 UTC (History)
11 users (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description Erkki Laaneoks 2018-01-28 23:57:46 UTC
LibreOffice Impress need option "skip hidden slides" at Insert => "Page Number...". 
When selected then hidden slides not counted.
At the moment when I have 10 slides and I hide 5th slide. Then last slide page number is still 10, but it should be 9.

Steps to Reproduce:
1. Add some slides
2. Add page numbers (Insert => Fields => "Page Number"
3. Hide some slides (not the end of slideshow)

Actual Results:  
Hidden slides is still counted

Expected Results:
Hidden slides not taken into account on counting.

Reproducible: Always

User Profile Reset: No

Additional Info:
Version: (x64)

User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 Buovjaga 2018-03-03 19:12:30 UTC
Küsime design-meeskonnalt.
Comment 2 Heiko Tietze 2018-03-21 06:07:55 UTC
Do we really need to make this optional?
Comment 3 Thomas Lendo 2018-10-07 23:27:49 UTC
I recommend to not count hidden slides automatically. So no new UI changes must be done.

Is there a use case for counting hidden slides?
Comment 4 Cor Nouws 2019-01-22 20:43:35 UTC Comment hidden (obsolete)
Comment 5 Heiko Tietze 2019-01-24 09:38:11 UTC
While there are some concerns here I support the request. Development needs to check the status before and restart numbering in case of changes.

Might be a (not so easy) easyhack.
Comment 6 Heiko Tietze 2019-11-06 16:41:13 UTC Comment hidden (obsolete)
Comment 7 Kai 2020-08-03 04:16:40 UTC
What is even weirder about this bug is that the total slide count seems to exclude hidden slides but the total slide number does not.

Is that intentional or a bug?
Comment 8 Timur 2020-09-28 09:17:03 UTC
Looks like a duplicate of bug 74383 that is marked Fixed, I don't see why.
Comment 9 Samuel Thibault 2020-09-28 09:21:24 UTC
 bug 74383  is about the display of the total number.  bug 68320 is about the display of the slide number. The "weirder" comment is precisely because the former was fixed, but not the latter.
Comment 10 Timur 2022-04-26 08:34:53 UTC
*** Bug 148659 has been marked as a duplicate of this bug. ***