Bug 68320

Summary: Impress <count> behaves oddly when printing handouts with and without hidden slides
Product: LibreOffice Reporter: Tiiti Kellomaki <g767402>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: pierre-yves.samyn, samuel.thibault, vulcain
Priority: medium    
Version: 4.1.0.4 release   
Hardware: Other   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=74383
https://bugs.documentfoundation.org/show_bug.cgi?id=115288
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103309, 112597    
Attachments: nbpage.odp (with hidden slide)

Description Tiiti Kellomaki 2013-08-20 09:46:55 UTC
I have an Impress presentation with 10 slides. Handout master contains "<number>/<count>" (Page number / Page count) which is supposed to give page numbering on the handouts: 1/2, 2/2. Works fine so far. I'm using 6 slides per page on the handout.

When I hide slides 1-5 and print a handout (or select "Range and copies" -> "Slides 6-10" in the Print dialog), I expect to have one page of handout, thus numbered 1/1. Instead, I'm getting one page numbered 1/2. So the <count> is calculating the hidden (or not selected) slides though they will not be printed. Seems to work equally with 1 or 4 slides per handout.

Please either change the <count> to include only the slides to be printed, or change its name to "Total page count" instead of "Page count". At least to me, "Page count" means "the number of paper sheets that will come out from the printer."
Comment 1 pierre-yves samyn 2014-06-07 15:57:06 UTC
Hi

I reproduce on windows 7/64 & 4.3.0.0.beta1

Also reproduced with Version: 4.3.0.0.beta2
Build ID: a06aa316117a6ff0f05c697c82831c227812d810

I set status to New.

The fix for bug 74383 solved the problem of "page count" when hidden slides but as stated in the Bug 74383, comment 8 inconsistent with the page number persists

See the nbpage.odp attached

Regards
Pierre-Yves
Comment 2 pierre-yves samyn 2014-06-07 15:58:00 UTC
Created attachment 100612 [details]
nbpage.odp (with hidden slide)
Comment 3 QA Administrators 2016-02-21 08:35:35 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2017-03-06 15:18:31 UTC Comment hidden (obsolete)
Comment 5 Samuel Thibault 2017-04-29 18:49:46 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2018-09-25 02:51:16 UTC Comment hidden (obsolete)
Comment 7 Samuel Thibault 2018-10-07 18:57:28 UTC
Hello,

I can confirm the issue is still there in master, tested with 

Version: 6.2.0.0.alpha0+
Build ID: 6dacf9ec5455bdad82e78470a1a7cb6d2271bec7
Comment 8 Timur 2020-09-28 09:10:53 UTC
Repro 7.1+ for printing handouts with and without hidden slides.
Steps: 
1. open ODP attachment 100612 [details] with hidden slide 2
2. File-Print-Impress-Type: Handouts 
3a. include hidden pages
3b. exclude hidden pages

Experienced a: 4 slides, 1/3 up to 4/3
Expected a: 4 slides, 1/4 up to 4/4

Experienced b: 3 slides, 1/3, 3/3, 4/3
Expected b: 3 slides, 1/3 up to 3/3
Comment 9 QA Administrators 2022-09-29 03:55:36 UTC Comment hidden (obsolete)
Comment 10 edera 2022-11-22 20:34:55 UTC
Still there in 7.3.6.2