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 409728 - [verified] Orca repeats mouse-selected text numerous times in Gecko
[verified] Orca repeats mouse-selected text numerous times in Gecko
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
0.2.x
Other All
: Normal normal
: 2.20.0
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
Depends on:
Blocks: 404403 404409
 
 
Reported: 2007-02-19 19:52 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2008-07-22 19:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
aforementioned debug.out (299.47 KB, text/plain)
2007-02-19 19:53 UTC, Joanmarie Diggs (IRC: joanie)
  Details
Another debug.out (349.97 KB, text/plain)
2007-03-02 01:46 UTC, Rich Burridge
  Details
Patch to fix the problem. (1.77 KB, patch)
2007-03-02 17:51 UTC, Rich Burridge
none Details | Review
patch to hopefully solve the problem (723 bytes, patch)
2007-06-19 23:04 UTC, Joanmarie Diggs (IRC: joanie)
committed Details | Review

Description Joanmarie Diggs (IRC: joanie) 2007-02-19 19:52:24 UTC
Steps to reproduce:

1. Launch Thunderbird and press Control N to create a new message
2. Tab to the body of the message and type "This is a test."
3. Use the mouse to select the text you just typed.

Expected results:  Orca would either say nothing (because at this time it typically does not announce text that was selected via the mouse) OR it would speak the selected text once.

Actual results:  It repeats the selected text quite a few times.

Full debug.out to follow.
Comment 1 Joanmarie Diggs (IRC: joanie) 2007-02-19 19:53:32 UTC
Created attachment 82908 [details]
aforementioned debug.out
Comment 2 Joanmarie Diggs (IRC: joanie) 2007-02-19 19:56:45 UTC
Left off an important word in the description, namely "thunderbird."  Sorry for the spam.
Comment 3 Rich Burridge 2007-03-02 01:46:43 UTC
Created attachment 83702 [details]
Another debug.out

I just built Thunderbird 3.0 (alpha) from Mozilla CVS and tried this
with latest Orca on my Ubuntu Feisty system. I get a slightly different
result. It speaks "T" 18 times. I thought it be the number of characters
in the test message, but it's more than that.
Comment 4 Rich Burridge 2007-03-02 17:51:52 UTC
Created attachment 83743 [details] [review]
Patch to fix the problem.

Assuming we don't want to speak/braille anything for mouse activated events.
Comment 5 Willie Walker 2007-05-10 15:16:38 UTC
I've reassigned this to at-spi since it really appears to be a problem with at-spi and not Orca.
Comment 6 Willie Walker 2007-05-10 15:19:00 UTC
Aargh!  I hate Bugzilla and the way it shoves unassociated links in your face.  Wrong bug.
Comment 7 Willie Walker 2007-05-25 16:46:12 UTC
I can also reproduce this when selecting text with the mouse in a FF document frame.  For example, I selected the "Additional" from "Additional Comments:" on this page and heard "Additional Comments" spoken many times.  Retitling and also setting the blocks field.
Comment 8 Joanmarie Diggs (IRC: joanie) 2007-06-19 23:04:54 UTC
Created attachment 90307 [details] [review]
patch to hopefully solve the problem

We already have an RFE (bug 409731) regarding the need to speak text that is selected by the mouse therefore, what needs doing here is to stop the extreme chattiness that is resulting from all of the caret-moved events.

Rich's patch accomplishes this nicely, but it should be in Gecko.py's onCaretMoved() instead as the problem is also in Firefox.

Will okay to commit?
Comment 9 Willie Walker 2007-06-20 00:16:21 UTC
> We already have an RFE (bug 409731) regarding the need to speak text that is
> selected by the mouse therefore, what needs doing here is to stop the extreme
> chattiness that is resulting from all of the caret-moved events.

As long as we have a bug/RFE to get us to the desired behavior, this sounds good.

> Will okay to commit?

Yep!  Thanks!
Comment 10 Joanmarie Diggs (IRC: joanie) 2007-06-20 00:29:24 UTC
Done.  Thanks.  Moving to pending.
Comment 11 Mike Pedersen 2007-06-26 18:54:50 UTC
I don't think I can verify this one.
Comment 12 Joanmarie Diggs (IRC: joanie) 2007-06-26 19:08:26 UTC
Can I verify it? :-)