Re: Setting a single selection between different objects in Firefox using IAccessible2
Alexander Surkov <[email protected]> Mon, 11 May 2015 15:02:52 -0400
| Newsgroups | gmane.comp.mozilla.accessibility |
|---|---|
| Message-ID | <CA+epNscUCdDV8WJ9Oq5hsNKakCBqmsjr38qgwXpfRpC3pC08DA@mail.gmail.com> |
On Mon, May 11, 2015 at 2:24 PM, Chris Hardy <[email protected]> wrote: > Bugs created: > > On Mon, May 11, 2015 at 11:46 AM, Alexander Surkov < > [email protected]> wrote: > >> >> >> On Mon, May 11, 2015 at 1:29 PM, Chris Hardy <[email protected]> >> wrote: >> >>> Hi Alexander, thanks for your response. >>> >>> With multiple selections, I get weird effects in the Gmail compose >>> window. Gmail compose inhibits multiple selection by mouse, so my guess is >>> that it just doesn't know how to handle it. I'm sure there are many other >>> CE-based editors that will also have similar issues. >>> >>> What would it take to update FF to combine continuously selected ranges >>> like you suggest? >>> >> >> Please file a bug on it >> https://bugzilla.mozilla.org/enter_bug.cgi?product=Core >> > > https://bugzilla.mozilla.org/show_bug.cgi?id=1163706 > > thanks > >> >> >>> >>> Another thought... what if FF allowed the use of IA2_TEXT_OFFSET_CARET >>> in setSelection, even when the actual offset is outside of the current >>> object? It is very likely that the caret should be at one end of the >>> selection anyways. Then I could do something like this: >>> >>> text2.setCaretOffset(2); >>> text1.setSelection(0, 2, IA2_TEXT_OFFSET_CARET); >>> >> >> That sounds reasonable but I'm surprised it doesn't work. It makes to >> file a bug on this too. >> > > https://bugzilla.mozilla.org/show_bug.cgi?id=1163713 > I think I misread the original proposal. Technically Firefox behavior may be considered correct because the caret offset is relative the DIV accessible object what means the link is selected entirely. I don't see however anything bad if magic caret offset did what you describe. What do others think on this? > > >> >> >>> >>> Regards, >>> Chris >>> >>> >>> >>> On Monday, May 11, 2015 at 9:50:37 AM UTC-6, Alexander Surkov wrote: >>> > I guess Firefox could combine continuously connected ranges into one >>> bug >>> > what's wrong in multiple selection? >>> > Thanks. >>> > Alexander. >>> > >>> > On Sun, May 10, 2015 at 11:41 PM, Chris Hardy <[email protected]> >>> wrote: >>> > >>> > > I'm having difficulty with setting selections in FF using >>> IAccessibility2, >>> > > would anyone here mind taking a look at my question posted over at >>> SO? >>> > > >>> > > >>> > > >>> http://stackoverflow.com/questions/30159146/setting-a-single-selection-between-different-objects-in-firefox-using-iaccessibl >>> > > >>> > > Cheers >>> > > _______________________________________________ >>> > > dev-accessibility mailing list >>> > > [email protected] >>> > > https://lists.mozilla.org/listinfo/dev-accessibility >>> > > >>> _______________________________________________ >>> dev-accessibility mailing list >>> [email protected] >>> https://lists.mozilla.org/listinfo/dev-accessibility >>> >> >> >