GNOME Bugzilla – Bug 409736
[blocked] Orca does not announce the beginning of strings pasted into thunderbird/firefox
Last modified: 2007-06-12 20:34:42 UTC
Steps to reproduce: 1. Create a new message in thunderbird. 2. Type "this is a test.", select that line and copy it. 3. Move to the end of that line, press Return for a new line, and use Control V to paste the copied text. Expected results: Orca would say "this is a test." because that is the text that was pasted. Actual results: Orca says "is is a test." (chopping off the initial "th" of "this"). Full debug.out to follow.
Created attachment 82910 [details] aforementioned debug.out See the object:text-changed:insert event which begins at line 3121.
What's happening here is that when you paste in the text, the onTextInserted() method in the Thunderbird.py script is being called. This scenerio doesn't match the if test there for auto-completion, so falls through to the line to call: Gecko.Script.onTextInserted(self, event) There is no onTextInserted() routine in the Orca Gecko class, so it calls the one in default.py. There is a line of code there (about line 2239 in default.py): text = event.any_data which for the test case: `This is a test ` is setting text to `his is a test ` (another test run set it to: `s is a test ` ) This seems broken. Firefox/Thunderbird accessibility bug or should we be getting the text associated with an "object:text-changed:insert" event for Firefox/Thunderbird in a different way?
If the any_data of the text-inserted event doesn't match the text that was inserted, then this seems like a Firefox/Thunderbird bug. :-(
I've filed a bug against Thunderbird on this problem. See: https://bugzilla.mozilla.org/show_bug.cgi?id=376013 Setting Summary to indicate we are currently "[blocked]".
This is an issue in Firefox as well. :-(
Removing target milestone from [blocked] bugs. We have little control over them, so we're better off letting priority and severity be our guide for poking the related components.
The Mozilla bug has been fixed. I have verified that we're correctly speaking pasted text in both Thunderbird and Firefox. Closing as NOTGNOME.