Apache OpenOffice (AOO) Bugzilla – Issue 12332
Zoomtext can't track the text cursor correctly
Last modified: 2003-05-12 10:04:31 UTC
Zoomtext 7.11 seems to be unable to track the text cursor correctly. Especially when inserting new paragraphs by pressing return (with zoom factor of 3x), Zoomtext sometimes moves into the wrong direction.
While editing documents in Writer, ZX 7.11 doesn't track the cursor at all. But when the cursor is outside the magnified area and the left-arrow button is pressed, then the magnified area suddenly jumps to the cursor.
It seems we have two issues here: 1.In the UAA, the index "length" is not a valid index for XAccessibleText.getCharacterBounds(). Unfortunatly the index always equals length while typing, so we should change the API in this perspective. 2.When pressing "Enter" while the caret is at index 0 of a line, a new paragraph gets inserted _before_ this paragraph and the actual paragraph changes its bounding rectangle. This seems not to be honored by Zoomtext right now. Even worse, it seems to jump to the location of the newly inserted paragraph instead of sticking with the currently active one. We will have to discuss this with the people from Zoomtext.
Submitted a new issue (13025) for problem #2. Andre, please change the XAccessibleText.getCharacterBounds() API so that the "length" becomes a valid index. The implementation(s) must be changed afterwards in the same CWS.
I made the requested modification: length is now a valid index. The associated bounding box has to have non-empty dimesions but is otherwise left to the imagination of the implementor.
Henning, could you please ensure that writer returns a non empty rectangle for XAccessibleText.getCharacterBounds( lenght ). CWS is UAA02.
Sorry, assigned to wrong person :(
sw/source/core/access/accpara.cxx, SwAccessibleParagraph::getCharacterBounds: GetCharRect also accepts position at end of text
fixed in uaa02: sw/source/core/access/accpara.cxx: 1.48.10.1
Ready for QA.
The problem described in this issue is still there (no tracking on return). I assume it is now a ZoomText bug which should be reassigned accordingly and reset to "NEW". What do you think?
Erik, for the "return" problem I have submitted the issue 13025 already.
Verified.
I have verified in the build m13s2 that the fix for this issue has been successfully integrated. Due to our current task handling I have to close this bug before OpenOffice 1.1 beta2 can be released.