After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 408670 - Braille and speech don't track well in text entry areas in Firefox and Thunderbird
Braille and speech don't track well in text entry areas in Firefox and Thunde...
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Willie Walker
Orca Maintainers
Depends on:
Blocks: 404403 404409
 
 
Reported: 2007-02-16 18:43 UTC by Willie Walker
Modified: 2007-04-03 16:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Rejected patch that solved the problem, but hurt viewing of HTML messages in Thunderbird (4.93 KB, patch)
2007-02-16 18:46 UTC, Willie Walker
rejected Details | Review
Patch to clear unicode cache on text inserted and deleted events (3.24 KB, patch)
2007-03-01 19:57 UTC, Willie Walker
none Details | Review
Improved patch to treat an editable document frame like a text area (4.86 KB, patch)
2007-03-01 22:12 UTC, Willie Walker
committed Details | Review

Description Willie Walker 2007-02-16 18:43:13 UTC
When editing text in autocompletes, single line text areas, and multiline text areas, braille and speech don't always seem to track well.  We'll sometimes here "newline" over and over, and we'll also see nothing but blank cells on the braille display.

This occurs when composing messages in Thunderbird, when entering bug reports in http://bugzilla.gnome.org.
Comment 1 Willie Walker 2007-02-16 18:46:42 UTC
Created attachment 82694 [details] [review]
Rejected patch that solved the problem, but hurt viewing of HTML messages in Thunderbird

Here's an attempt at patching this for Thunderbird.  It had a bad side effect of preventing the viewing of HTML messages, so it's been backed out.  But...I want to put it here for future reference.
Comment 2 Willie Walker 2007-03-01 19:57:11 UTC
Created attachment 83675 [details] [review]
Patch to clear unicode cache on text inserted and deleted events

Phew - this one was tough to track down.  It turns out that the caching of unicode text values got in the way here.  The ultimate solution was to delete the unicode cache when we detected text insertions and deletions.  It also needed a little work to handle a case where the caret was at the very end of a text object (as is often the case when we're composing a document).
Comment 3 Willie Walker 2007-03-01 22:12:23 UTC
Created attachment 83692 [details] [review]
Improved patch to treat an editable document frame like a text area

This new and improved patch builds on the previous patch. focuses on the composition area of Thunderbird, and treats an editable document frame as a text area.  This gets us the " $l" handling at the end of the line and also seems to work better with the "old" Thunderbird from a few weeks ago and the new Thunderbird built from Mozilla CVS this morning.
Comment 4 Joanmarie Diggs (IRC: joanie) 2007-04-03 16:31:01 UTC
Will, this seems to work nicely in Firefox.  Is there anything else that needs to be done on it?
Comment 5 Willie Walker 2007-04-03 16:53:10 UTC
Thanks for the check.  Closing as FIXED.  We can open another bug if something else crops up.