Issue 92048

Summary: XTextViewCursor should give the correct position even if the controllers are locked
Product: Writer Reporter: eberlein <pet.ebe>
Component: codeAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: elish, issues
Version: OOo 2.2Keywords: needhelp
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
showing the positions of the viewcursor none

Description eberlein 2008-07-23 16:31:41 UTC
Sometimes it is necessary to have the coordinates of XTextRanges (e.g. for sort
purposes). Jumping with the viewcursor is the only way to achieve this.
To not confuse the user and to avoid screenupdating, the controllers can be locked.

If so, the com.sun.star.awt.Point of the cursor is wrong.

The point depends on formatting, the printer driver etc., but should not depend
on locked controllers, see the attached example.
Comment 1 eberlein 2008-07-23 16:32:53 UTC
Created attachment 55330 [details]
showing the positions of the viewcursor
Comment 2 michael.ruess 2008-07-24 12:17:48 UTC
MRU->OS: please have a look. thanks!
Comment 3 Marcus 2017-05-20 10:44:42 UTC
Reset the assignee to the default "issues@openoffice.apache.org".