Issue 114045 - closing page peview returns to last saved cursor position instead of previewed page
Summary: closing page peview returns to last saved cursor position instead of previewe...
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOO330m5
Hardware: All All
: P3 Trivial (vote)
Target Milestone: 3.4.0
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: regression
: 117602 (view as issue list)
Depends on:
Blocks:
 
Reported: 2010-08-22 12:46 UTC by jmpoo
Modified: 2017-05-20 10:30 UTC (History)
5 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 jmpoo 2010-08-22 12:46:38 UTC
330m5, engl. with german lang.-pack, Win XP, default options


open any writer doc with more than one page
choose page preview
close page preview
the page with the last saved cursor position is shown instead of the actual
cursor position at the page wich was shown in page view

same behavior if you doubbleclick at a page wich was shown in page view
expected behavior: the page is shown at which you have doubbleklicked

really annoying in long documents

works as expected in OOo 3.2
Comment 1 eric.savary 2010-08-22 14:07:01 UTC
Not a P2.

@OS: reminds of issue 40416.
Comment 2 Oliver Specht 2010-08-23 11:08:31 UTC
Issue 40416 says (almost) the opposite of this issue. 

The editing position is restored after closing the print preview. 
If a page is double clicked in the preview then _this_ page is used as new
editing position. 

If this would be changed all those uses will be annoyed who only wanted to view
the preview but didn't want to lose their editing position. 
Additionally: Which page should be selected if multiple pages are previewed -
maybe the complete document at once?

Changing state to Worksforme
Comment 3 jmpoo 2010-08-23 12:28:46 UTC
No, you misunderstood

I create a writer document with 4 Pages. Cursor position is at the end of the
last row of page 4 when I save the doc.

Then I go to the second row at page 2 and add one word. After this I open page
preview. Page 2 was shown as expected. But closing page preview using "Close
Preview" button shows page 4 with the cursor at the position when i saved the
document. Expected behavior: page 2 was shown.

Same behavior if I close the preview with doubble klick on the previed page 2:
Page 4 is shown instead of page 2 .


If I do this in OOo 3.2, page 2 is shown as expected.


In addition: If I open multipage preview in OOo 3.2 and all 4 pages are shown,
it is possible to doubble click on page 3 and page 3 is shown to work on and not
the last editing position at page 2. Page 2 is only shown if you close preview
using the preview button.
Comment 4 Oliver Specht 2010-08-23 13:14:32 UTC
o.k., I obviously misunderstood.
Comment 5 bmarcelly 2011-03-06 21:53:05 UTC
In other words :
When in preview mode you read a long document, you change pages; then if you double-click on a word in a page you should return to edit view with the cursor positionned exactly on the same page and same word.

This feature has worked since all previous versions including 1.1.x. It is very handy because you cannot edit a document in preview mode.
This is a regression which should have been corrected before 3.3 release.
Comment 6 Oliver Specht 2011-03-23 06:59:00 UTC
Fixed in cws os151 in 
http://hg.services.openoffice.org/cws/os151/rev/197c0a5f6f1e

->od: Please review
Comment 7 Oliver-Rainer Wittmann 2011-03-24 07:42:49 UTC
fix reviewed by OS
Comment 8 Oliver Specht 2011-03-24 08:33:37 UTC
Set to fixed
Comment 9 Oliver Specht 2011-03-28 12:26:17 UTC
reassigned to mru for verification
Comment 10 michael.ruess 2011-03-30 07:35:47 UTC
*** Issue 117602 has been marked as a duplicate of this issue. ***
Comment 11 michael.ruess 2011-03-30 07:51:08 UTC
Verified fix in CWS os151.