Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Caret position not being reported for Accessibility Issues | ||
---|---|---|---|
Product: | gsl | Reporter: | bitslayer <kevintempler> |
Component: | code | Assignee: | AOO issues mailing list <issues> |
Status: | CLOSED OBSOLETE | QA Contact: | |
Severity: | Trivial | ||
Priority: | P4 | CC: | issues, malte_timmermann, nospam4obr, vsfoote |
Version: | OOo 2.3.1 | Keywords: | accessibility |
Target Milestone: | OOo 3.x | ||
Hardware: | PC | ||
OS: | Windows, all | ||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 121767 |
Description
bitslayer
2008-02-13 18:08:36 UTC
Reassigned to ES. @MI: please take over (Windows, Enhancement) MT->OBR: Think this should work once we have IA2/MSAA @bitslayer: can you be more specific in which API you would expect OOo to expose / update the caret position ? Hello, I would be happy to explain. In the assisitive technology world there is Active Accessibility but there is also just plain simple Windows API calls that can make your app more accessible. If you are using your own (or third party) text editor the problem is that it may not be setting the caret position that windows knows about. The api call is SetCaretPos( x, y ); which is what your software, not mine, would call. My software would then be able to call GetCaretPos and know where the caret is in your app. Some API experts might say "but you can't know the caret position of another app" which is true, in general, but under special circumstances another app CAN get that information. Our software does it all the time with no problem from windows 3.1 to windows vista. Another way is to implement the IAccessible interface which is COM. There you would expose the caret position as well. Currently, however, my software does not use the IAccessible interface in all of our products (some do as they are newer and Active Accessibility while not new is now well defined and less buggy). So I guess what I was asking for was if it would be possible to throw in the SetCaretPos( x, y ) every time you move the caret in the editor (or in any of the OOo products). Thanks, Kevin Thank you, this helped a lot understanding this issue. @pl : VCL seems to already call SetCaretPos under certain circumstances (active Input Method Engine). Do you see a chance to always keep a Windows cursor around and its position in sync with the internal one ? mt->pl: Please evaluate if SetCaretPos can be done, so we don't rely on some future IA2 bridge, which would us also bring MSAA. If possible, try to fix in 3.3. Reset assignee on issues not touched by assignee in more than 2000 days. Possibly still of interest, but the MSAA/IAccessible2 1.3 API implemented provides for refined use of caret offset positioning in IAccessibleText and IAccessibleEditableText as text roles are refined. Setting Resolved Obsolete. If still desired, should be resubmited within context of tailoring the IAccessible2 IDL assigned accessible text roles. |