Issue 111146 - Wrong view data is read when returning from page preview
Summary: Wrong view data is read when returning from page preview
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: DEV300m76
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: marc.neumann
QA Contact: issues@sc
URL:
Keywords:
: 113588 (view as issue list)
Depends on:
Blocks:
 
Reported: 2010-04-26 09:58 UTC by niklas.nebel
Modified: 2017-05-20 10:33 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
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