Bug 59079 - PRINTING - Cannot print the original sheets when new sheets are inserted.
Summary: PRINTING - Cannot print the original sheets when new sheets are inserted.
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.6.4.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-06 12:12 UTC by 18niceboy18
Modified: 2015-06-24 19:07 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
8 sheets spreadsheet with 1 newly added sheet. (38.43 KB, application/vnd.oasis.opendocument.spreadsheet)
2013-01-06 12:12 UTC, 18niceboy18
Details
8 sheets spreadsheet with 1 newly added sheet. (38.43 KB, application/vnd.oasis.opendocument.spreadsheet)
2013-01-06 12:36 UTC, Rob Snelders
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 18niceboy18 2013-01-06 12:12:44 UTC
Created attachment 72585 [details]
8 sheets spreadsheet with 1 newly added sheet.

I have a spreadsheet with 7 sheets and works fine previously. Recently, I want to merge the 3 sheets of another spreadsheet into this spreadsheet. The editing of the new spreadsheet (i.e with totally 10 sheets) is fine. But when I want to preview / print the sheets, only those newly inserted sheets can be previewed/printed. The original sheets only shows blank in preview. When I removed those newly inserted sheets, the original 7 sheets resumed to normal (i.e. can be previewed and printed).

The attached BOOKS.ODS is the problem spreadsheet. The last sheet named "Testing Sheet" is moved from another spreadsheet. Only it can be previewed and printed. When it was removed, all the original sheets can be previewed and printed again.
Comment 1 Rob Snelders 2013-01-06 12:36:26 UTC
Created attachment 72586 [details]
8 sheets spreadsheet with 1 newly added sheet.
Comment 2 Rob Snelders 2013-01-06 12:40:33 UTC
confirmed with 4.0-beta2 on Ubuntu 12.04 x86_64
Comment 3 QA Administrators 2015-04-19 03:22:48 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

   *Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.1 or later)
   https://www.libreoffice.org/download/

   *If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 
   *If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

   *Update the version field
   *Reply via email (please reply directly on the bug tracker)
   *Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 

1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)

http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug 
3. Leave a comment with your results. 
4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 
4b. If the bug was not present in 3.3 - add "regression" to keyword


Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-04-18
Comment 4 Buovjaga 2015-06-18 15:39:00 UTC
Solved by defining print ranges for sheets, Format - Print ranges.
Comment 5 18niceboy18 2015-06-23 17:46:51 UTC
Beluga's solution doesn't 100% work.

I can defining print ranges for a single sheet only, but I have 8 concerned sheets PLUS 3 newly added sheets in the workbook. The printing result shows that only the sheet that defined with print ranges PLUS 3 newly added sheets can be printed, other sheets are gone.
Comment 6 Buovjaga 2015-06-24 08:53:36 UTC
(In reply to 18niceboy18 from comment #5)
> Beluga's solution doesn't 100% work.
> 
> I can defining print ranges for a single sheet only, but I have 8 concerned
> sheets PLUS 3 newly added sheets in the workbook. The printing result shows
> that only the sheet that defined with print ranges PLUS 3 newly added sheets
> can be printed, other sheets are gone.

I can define print ranges for every sheet separately.
1. Select area for print range
2. Format - Print range - Define

Or Format - Print range - Edit and define it as Entire sheet, like in Rob's file in the "Testing sheet".

Please try again. If you don't succeed, I can attach the file with defined ranges.
Comment 7 18niceboy18 2015-06-24 17:33:58 UTC
Thank you Begula, it works now.

I defined the print range separately for each existing sheets, after the 8 original sheets are defined, all sheets can be printed/exported.  

However, defining the print range as "Entire sheet" still doesn't work.

Finally, the problem is fixed. Thank you.
Comment 8 Buovjaga 2015-06-24 19:07:52 UTC
Thanks, I'll set to WFM to better describe the status.