Bug 35933 - Spreadsheet prints unnecessary blank last page
Summary: Spreadsheet prints unnecessary blank last page
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-03 11:41 UTC by Dan Essin
Modified: 2011-12-22 05:53 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Sample Document, see Comment 2 (7.56 KB, application/vnd.oasis.opendocument.spreadsheet)
2011-07-07 01:34 UTC, Rainer Bielefeld Retired
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Essin 2011-04-03 11:41:01 UTC
I created a spreadsheet. The initial print preview showed to columns on page 2. Since those columns were unnecessary, I deleted them but print preview continues to show 2 pages - the second one is blank of course. 

If I define a print range, it correctly shows one page. If I remove the range, it reverts to displaying the blank last page.
Comment 1 Jan Holesovsky 2011-04-07 11:15:52 UTC
Can you please attach the document that shows the behavior?  Thank you!
Comment 2 Rainer Bielefeld Retired 2011-07-07 01:33:14 UTC
NOT Reproducible with "LibreOffice 3.4.1RC1 - WIN7  Home Premium (64bit) German UI [OOO340m1 (Build:103)]". The effect might be related to particular print settings, if you are not able to reproduce the problem, I will add further information.

Test:
1. open attached "sample0.ods"
2. click icon 'print preview'
   only 1 page with "sheet1" in 'A1' and header / footer info will be visible
   it's not possible to go to other preview pages (all as expected)
3.  click icon 'print preview' to close preview
4. select sheet2 and type "sheet2" into 'A1' of that sheet
5. click icon 'print preview' to open preview
   2 pages with "sheet1" and "sheet2" in 'A1' and header / footer info will be
   visible, you can go forward / backward in print preview  (all as expected)
6. click icon 'print preview' to close preview
7. Click sheet 2 column header 'A'
   Column will be selected
8. Menu 'edit > delete cells'
   column will be deleted, to more cell contents visible
9. click icon 'print preview' to open preview
   Expected: only sheet 1 will appear, because sheet2 is without contents
   Actual: as expected.

No problem visible!

Closing Bug due to reporter's inactivity as WFM.

@reporter:
Please feel free to reopen this bug if you find out that the problem still exists with the current stable LibreOffice version and if you can contribute requested additional information due to <http://wiki.documentfoundation.org/BugReport> (especially BugReport Details)!
Comment 3 Rainer Bielefeld Retired 2011-07-07 01:34:01 UTC
Created attachment 48842 [details]
Sample Document, see Comment 2
Comment 4 Björn Michaelsen 2011-12-22 05:37:16 UTC
Remove infoprovider from closed and resolved bugs.
Comment 5 Björn Michaelsen 2011-12-22 05:53:57 UTC
RESOLVED, FIXED or CLOSED bugs cant be KEYWORD NEEDINFO.