Bug 49115

Summary: UI: blank document shows empty grey UI background instead of page preview
Product: LibreOffice Reporter: OfficeUser <norbert.notz>
Component: SpreadsheetAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: trivial    
Priority: medium CC: LibreOffice, lo_bugs
Version: Inherited From OOo   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description OfficeUser 2012-04-24 12:22:00 UTC
I think I found to regressions that probably have been introduced by Markus Morhards' changes.

See
https://bugs.freedesktop.org/show_bug.cgi?id=46230#c6
and
https://bugs.freedesktop.org/show_bug.cgi?id=46738#c6


Steps to reproduce:

- Open a blank spreadsheet
- Open the page preview.

==> Note that only a gray area is dispalyed, no page. It is impossible to check header and footer if no cell is filled.

- Try to export as PDF

==> An error message appears: Error saving the document...


Found in LibreOffice 3.5.2.2
Comment 1 Markus Mohrhard 2012-04-24 12:49:48 UTC
Please add this bug to the MAB so that other people can have fun too. And please never ever add me as cc into a bug report.
Comment 2 Kohei Yoshida (inactive) 2012-04-24 12:54:35 UTC
OfficeUser,

With all due respect, before you accuse a developer by name, you should have a solid evidence of your accusation.  That's a sure way to piss off a developer.

BTW, this behavior has been there since 3.3.  It's not a regression.
Comment 3 OfficeUser 2012-04-24 12:55:55 UTC
@Markus: Reporting your regressions is no fun.
Comment 4 OfficeUser 2012-04-24 12:56:38 UTC
Ok, sorry. Let's examine the problems and than adjust the summary.
Comment 5 OfficeUser 2012-04-24 12:57:44 UTC
"BTW, this behavior has been there since 3.3."

And before 3.3?
Comment 6 Markus Mohrhard 2012-04-24 13:08:36 UTC
Do you really think that any calc dev will now care about your personal bugs? You might start fixing them yourself.
Comment 7 Rainer Bielefeld Retired 2012-04-24 22:25:12 UTC
[Reproducible] with "LibreOffice 3.5.3.1 (RC1) German UI/Locale [Build-ID: 21cb047-d7e6025-9ba54fc-b4a51a8-f42372b] on German WIN7 Home Premium (64bit). all new documents created from File Menu, Start center, WIN Desktop, ... show that empty grey area instead of an empty page, I did not find a setting what might heal that.  

Seems reporter did not check very carefully, I already see that in OOo 1.1.4 (even the PDF export error message is the same), so inherited from OOo and not a regression.

@OfficeUser: 
May I recommend to read <http://wiki.documentfoundation.org/BugReport>, what will help you to write more useful reports? Except the observed effect all report here is unusable and wrong.

Please contribute information concerning your OS.
Comment 8 Terrence Enger 2012-04-25 07:39:47 UTC
print preview
-------------

I have seen the all-grey print-preview before, and I thought it was a
feature rather than a bug.  The workaround is simple: enter
something--even a blank--somewhere in the spreadsheet.

(Bug 48348 "VIEWING FILEOPEN spreadsheet saved from page preview opens
to grey" is different from this one in that the grey background there
arises in a different context and the workaround is even more simple.)


PDF export
----------

The message from the attempt to export an empty document as PDF reads

    Error saving the document Untitled2:
    Write Error.
    The file could not be written.

This is unhelpfully generic.  But still, I suspect that the attempt to
export an empty document is as likely to be accidental as it is to be
intended.  Presumably, the same workaround is effective.
Comment 9 OfficeUser 2012-04-25 10:25:52 UTC
@Terrence: Current behaviour isn't what the user expects and it is not consistent with other LibO applications. ==> bug

@Markus:
I have to apologise. For me it looked like a regression caused by some of your changes since this bug is related with blank cells, too. Again: Sorry.

But I do not think that this is my "personal" bug. All LibO users are affected by such problems.

Could you take this one and provide a patch?
Comment 10 OfficeUser 2012-04-25 10:30:42 UTC
> But still, I suspect that the attempt to
export an empty document is as likely to be accidental as it is to be
intended.

I disagree. Documents can consist of only formattings. Imagine - for example - printing a "blank" table structure for writing by hand...

And again: Current behaviour is inconsistent with other LibO applications.
Comment 11 Rainer Bielefeld Retired 2012-04-25 11:08:00 UTC
@OfficeUser, @Terrence Enger:
This bug has been confirmed, the current behavior is inconsistent to other LibO applications and sometimes a little annoying and so it's a (trivial) bug. I doubt that further discussion will be useful, especially here in this particular bug. 

For the PDF problem I submitted "Bug 49151 - PDF export of Empty sheet causes error message, PRINTING fails silently"!
Comment 12 OfficeUser 2012-05-02 12:24:31 UTC
Corrected summary.
Comment 13 Teo91 2013-09-29 18:19:06 UTC
I can confirm this with LO 4.1.1 on Windows 7 SP1.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.