Closed
Bug 762934
Opened 12 years ago
Closed 11 years ago
IA2_EVENT_TEXT_SELECTION_CHANGED event produces incorrect results when several text objects are selected
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: jeckhardt, Assigned: surkov)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0
Build ID: 20120531155942
Steps to reproduce:
select several text objects
Actual results:
The problem is that Firefox reports that only one(first) text object is selected while we have several selected objects on the screen. I`m not sure if we can reproduce it with the AccProbe.
Expected results:
Multiple selected objects should be reported
Assignee | ||
Comment 1•12 years ago
|
||
(In reply to Jost Eckhardt, Ai Squared from comment #0)
> Steps to reproduce:
>
> select several text objects
do you mean single selection like
<p>text |<a>anchor</a><img>|</p>
or multiple selections through the document like
|<p>this is selected paragraph</p>|
<p> this is not selected</p>
|<p> this one is selected again</p>|
where | | denotes start and end of the selection
Updated•12 years ago
|
Component: Untriaged → Event Handling
Product: Firefox → Core
QA Contact: untriaged → events
Assignee | ||
Updated•12 years ago
|
Component: Event Handling → Disability Access APIs
QA Contact: events → accessibility-apis
Assignee | ||
Updated•12 years ago
|
Blocks: caretsela11y
Reporter | ||
Comment 2•12 years ago
|
||
Single selection of multiple objects
|<p>selected paragraph 1</p>
<p>selected paragraph 2</p>
<p>selected paragraph 3</p>|
IA2 will return only selected paragraph 1
Assignee | ||
Comment 3•12 years ago
|
||
what accessible do you get the selection from?
Comment 4•12 years ago
|
||
Alexander,
we process IA2_EVENT_TEXT_SELECTION_CHANGED events in the following way:
1)Use AccessibleObjectFromEvent function to get an accessible object associated with the event (on the WinEventProc side);
2)Query accessible object for IAccessibleText interface (through IAccessible2 interface);
3)Get selection information using IAccessibleText::nSelections and IAccessibleText::selection.
Assignee | ||
Comment 5•12 years ago
|
||
Got it, thanks.
Assignee | ||
Updated•11 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 6•11 years ago
|
||
ашчув ин игп 928504
Assignee: nobody → surkov.alexander
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•