Closed
Bug 355380
Opened 18 years ago
Closed 18 years ago
"text selection changed" event sent out when focus changes
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
DUPLICATE
of bug 368598
People
(Reporter: hwaara, Assigned: aaronlev)
References
Details
(Keywords: access)
I've made mac listen to the nsIAccessible::EVENT_ATK_TEXT_SELECTION_CHANGE. It is not only fired when a selection is changed, but also when you tab from one link to another. I think it should only be fired if the _length_ of the selection changes. So, changing from 3 characters selected to 0 (no selection) fires it, but tabbing from an unselected element (0) to another unselected element (0) wouldn't..
Assignee | ||
Comment 1•18 years ago
|
||
At least, if it goes from collapsed to collapsed but the location has changed, it's really just a caret move event.
Comment 2•18 years ago
|
||
we have text_selection_changed selection_changed text_caret_moved where is the exact def for them?
http://developer.gnome.org/doc/API/2.0/atk/AtkSelection.html#AtkSelection-selection-changed http://developer.gnome.org/doc/API/2.0/atk/AtkText.html#AtkText-text-selection-changed http://developer.gnome.org/doc/API/2.0/atk/AtkText.html#AtkText-text-caret-moved
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20061117 Minefield/3.0a1 Focusable text objects such as text links emit the object:text-selection-changed event immediately after they receive focus. This event fires regardless of whether text is selected anywhere on the page or not. On Linux, object:text-selection-change events typically fire only when the length of a selection region changes. The only event I would expect to receive when a link receives focus is a focus: event. If text is selected elsewhere on the page and becomes deselected because of this focus change, then I would expect the object:text-selection-change on the accessible for the previously selected text, but definitely not on the newly focused link object.
Assignee | ||
Updated•18 years ago
|
Assignee | ||
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•