Issue 111146

Summary: Wrong view data is read when returning from page preview
Product: Calc Reporter: niklas.nebel
Component: editingAssignee: marc.neumann
Status: CLOSED FIXED QA Contact: issues@sc <issues>
Severity: Trivial    
Priority: P3 CC: issues, matuaki, oliver.brinzing
Version: DEV300m76   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description niklas.nebel 2010-04-26 09:58:05 UTC
In a new Calc document, input something on first and second sheet. With the
second sheet active, call File/Page Preview, and close the preview again. The
normal view now shows the first sheet instead of the second one.

If the same is done with a loaded document instead of a new one, the sheet that
was visible after loading is shown again. Other view changes (like
Window/Freeze) are also lost.

The behavior changed in m76 with CWS autorecovery. The ViewShell's
ReadUserDataSequence method is now called after switching back. When creating a
new document, WriteUserDataSequence and ReadUserDataSequence are called, and
that sequence is used when switching back.

The Calc views separately save the normal user data for switching back from page
preview. The data is applied in ScTabViewShell::Activate (the
DoReadUserDataSequence call). The new ReadUserDataSequence call in m76 comes
after that.
Comment 1 niklas.nebel 2010-08-23 15:21:37 UTC
*** Issue 113588 has been marked as a duplicate of this issue. ***
Comment 2 Oliver Brinzing 2010-08-23 16:47:35 UTC
.
Comment 3 Frank Schönheit 2010-09-01 19:56:16 UTC
fixed in CWS dba33i

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/dba33i
Comment 4 Frank Schönheit 2010-09-08 06:46:49 UTC
fs->msc: please verify in CWS dba33i
Comment 5 marc.neumann 2010-09-08 09:54:49 UTC
verified in CWS dba33i

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/dba33i