Re: Find Next Bold/Italic etc. not working with custom text component
Re: Find Next Bold/Italic etc. not working with custom text component
- Subject: Re: Find Next Bold/Italic etc. not working with custom text component
- From: Boris Dušek <email@hidden>
- Date: Fri, 09 Aug 2013 20:39:52 +0200
Hi Josh,
I solved the problem: On Aug 9, 2013, at 7:25 AM, Josh Scotland < email@hidden> wrote: Also from logging queried attributes it is clear that AXStyleRangeForIndex is never queried even though it is reported as supported parameterized attribute. Correct, I don’t believe AXStyleRangeForIndex is used for those searching commands.
just out of curiosity, what is it used for then? :-) - None of the searching commands are working, even for italic and underline?
yes, none of them work - VO+T [read text attributes] is working as expected?
yes, it says e.g. "bold 12 point Times New Roman" - You’re getting character echo when keyboard arrowing around and typing? (confirms that AXFocusedUIElement is set up properly)
yes - Does changing the font do anything (e.g. Helvetica)?
no, it still reports "… Times New Roman", guess it's a LibreOffice bug I will look at later - Have you had any updates on the issue since yesterday?
no, but after reading your email, I got the impression that you suppose it to just work, that there is no "magic secret attribute" to support, and that there probably must be just some slight mistake somewhere in the LibreOffice implementation of AXTextArea. In the end it turned out it was AXSharedCharacterRange was buggy, always returning (0, 0) (AXNumberOfCharacters was implemented properly, though).
Now with proper implementation of AXSharedCharacterRange, it works! A corresponding commit is pending review for LibreOffice master.
Thanks for your help! Boris |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden