Issue 92048 - XTextViewCursor should give the correct position even if the controllers are locked
Summary: XTextViewCursor should give the correct position even if the controllers are ...
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 2.2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needhelp
Depends on:
Blocks:
 
Reported: 2008-07-23 16:31 UTC by eberlein
Modified: 2017-05-20 10:44 UTC (History)
2 users (show)

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


Attachments
showing the positions of the viewcursor (9.17 KB, application/vnd.oasis.opendocument.text)
2008-07-23 16:32 UTC, eberlein
no flags Details

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