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)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 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: 2023-02-21 21:41 UTC (History)
13 users (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 Erkki Laaneoks 2018-01-28 23:57:46 UTC
Description:
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: 5.4.3.2 (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. ***
Comment 11 Saren Tasciyan 2022-09-15 12:10:47 UTC
One potential issue is that one can enter slide number and hit enter to go to that slide during presentation. If hidden slides are excluded then it will be difficult to find that slide and numbers (slide numbering and slide numbers in the UI) will have discrepancy. I wonder how others solved this issue.
Comment 12 Samuel Thibault 2022-09-15 20:28:03 UTC
I didn't know about that feature. But can't that feature also use the numbering with the skipped slides, to be coherent with the fixed shown slide number?
Comment 13 Stefan Schwarzer 2023-02-10 08:35:24 UTC
I also ran into this limitation.

My use case is that it's not yet clear how long the time slot for my talk will be (20 or 30 minutes). I have slides that I only want to show for the 30-minute talk. If I give the 20-minute talk, I obviously don't want gaps in the shown page numbers. Even if I have the shorter time slot, I ideally don't want to delete the hidden slides completely already.

Generally, I don't think it's unusual to prepare a talk with "too many" slides and want to decide later which ones to actually use.

At the moment, my workaround is to move the hidden pages to the end of the slides. This is inconvenient because if I end up using the slide, I need to find the place again where the slide belongs.
Comment 14 Heiko Tietze 2023-02-10 08:55:48 UTC
Similar topic is discussed in bug 153259 for Writer with the idea to introduce an attribute on the page style that adds it to the total number of pages, or not. Same could be done for slides / master slides (effectively the same as adding an option to not count a particular slide).
Comment 15 Samuel Thibault 2023-02-10 09:56:05 UTC
To be actually useful, it would need to be set automatically for hidden slides. Otherwise people will not remember to both switch the hidden flag and the count flag at the same time.