Bug 96738 - UI: Return to Normal View after Document Recovery (RFE)
Summary: UI: Return to Normal View after Document Recovery (RFE)
Status: RESOLVED DUPLICATE of bug 85285
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-27 15:29 UTC by Hb
Modified: 2015-12-27 20:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Initial view of the reopened document saved in Print Preview mode (33.48 KB, image/png)
2015-12-27 15:29 UTC, Hb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hb 2015-12-27 15:29:44 UTC
Created attachment 121569 [details]
Initial view of the reopened document saved in Print Preview mode

Calc crashed after clicking the Print Preview button.  Document Recovery told that it was successful.  After clicking Finish I saw "No Data" on the screen.  I went to panic mode.  I restarted LibreOffice, called Document Recovery again and got the same "No Data" result.  Panic intensified ...

Turns out that the document was indeed recovered but shown in the Print Preview mode.  This caused the "No Data" message on the screen.  

So please show the document in Normal View after recovery. Providing a valid Print Preview may depend on the current printer which may change between crash and recovery.
Comment 1 m_a_riosv 2015-12-27 16:13:29 UTC
To solve the crash, please try resetting the user profile, sometimes solves strange issues.
https://wiki.documentfoundation.org/UserProfile
Usually it's enough renaming/deleting the file "user/registrymodifications.xcu",  it affect all the options in Menu/Tools/Options, and the files "user/basic/dialog.xlc" and "scrip.xlc" are overwritten, additionally custom colors in "user/config/standard.soc" are lost.
Comment 2 A (Andy) 2015-12-27 16:20:24 UTC
For me not reproducible with LO 5.1.0.1, Win 8.1

I opened a CALC sheet in the Print Preview and forced a crash of LO (task termination).  After the successful recovery the sheet is shown in the Normal View, but not in the Print Preview.

@Hb: Which Operating System are you using?
Comment 3 Hb 2015-12-27 19:28:29 UTC
Comment on attachment 121569 [details]
Initial view of the reopened document saved in Print Preview mode

(In reply to m.a.riosv from comment #1)
> To solve the crash, 
Thanks for the help.  Main goal of my report is to get a better UI.


(In reply to A (Andy) from comment #2)
> For me not reproducible with LO 5.1.0.1, Win 8.1

Please see the screen shot.  By clicking Save All when in Print Preview mode and reopening this file you get the same result under Windows.  Under Linux the "No Data" text is missing and only a gray empty area is shown.

> I opened a CALC sheet in the Print Preview and forced a crash of LO (task
> termination)...  After the successful recovery the sheet is shown in the
> Normal View, but not in the Print Preview.

Same here. But I doubt that task termination is equivalent to a task crash which happens instantly.  Main focus of this report is to see some content after opening a document. Whether it was saved or restored.

 
> @Hb: Which Operating System are you using?
Win 7 64 bit. LO is Version: 5.0.2.2 (x64), Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe, Locale: de-DE (de_DE)
Comment 4 Hb 2015-12-27 20:17:48 UTC

*** This bug has been marked as a duplicate of bug 85285 ***