Closed
Bug 338197
Opened 19 years ago
Closed 18 years ago
object:text-changed:deleted events do not show deleted characters
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 390414
People
(Reporter: parente, Assigned: aaronlev)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Type http://www.mozilla.org into the address bar. Then navigate to the end of the string and start pressing backspace. Events are as follows:
object:text-changed:delete(22, 1, )[None, text]
object:text-caret-moved(21, 0, None)[None, text]
object:text-changed:delete(21, 1, )[None, text]
object:text-caret-moved(20, 0, None)[None, text]
...
The delete events are not reporting the actual character deleted. The same behavior is evident if deletes are done in the middle of the string or if delete is used instead of backspace. The events should read:
object:text-changed:delete(22, 1, g)[None, text]
object:text-caret-moved(21, 0, None)[None, text]
object:text-changed:delete(21, 1, r)[None, text]
object:text-caret-moved(20, 0, None)[None, text]
...
If it'll help, I'll attach a Python test script showing exactly what happens. A simpler solution is to use at-poke and watch the events from gedit.
I should have pointed out that nearly all object:text-changed:delete events from gail do include the deleted characters so there is precedent for including them.
| Assignee | ||
Comment 2•18 years ago
|
||
Joanie, this can be closed as fixed because of Surkov's recent fix, correct?
| Assignee | ||
Comment 3•18 years ago
|
||
Well, please reopen if they aren't working. I believe that is what Surkov just fixed.
Duping to the bug where he did the work.
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
•