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 416964 - Orca needs better handling for non-breaking space characters in Firefox
Orca needs better handling for non-breaking space characters in Firefox
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
2.17.x
Other All
: Normal normal
: ---
Assigned To: Willie Walker
Orca Maintainers
Depends on:
Blocks: 404403
 
 
Reported: 2007-03-11 01:37 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2007-03-14 21:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
aforementioned test case (1.07 KB, text/html)
2007-03-11 01:38 UTC, Joanmarie Diggs (IRC: joanie)
  Details
Patch to add no break space character to word delimiter check (1.38 KB, patch)
2007-03-14 16:25 UTC, Willie Walker
committed Details | Review

Description Joanmarie Diggs (IRC: joanie) 2007-03-11 01:37:51 UTC
It seems that Orca is treating the non-breaking space  character as something other than a space. Thus when moving word by word, it seems that we are moving further than we should and that Orca is reading more than it should.

In addition, because Gecko treats the non-breaking space character as a space, if Gecko is controlling  the caret movement seems more logical (to me), but Orca does  not read the word at the caret; instead it reads  (repeats) the entire string. 

Try using Orca to read the test case (to be attached) word by word, first with Orca controlling the caret then with Gecko controlling the caret.
Comment 1 Joanmarie Diggs (IRC: joanie) 2007-03-11 01:38:43 UTC
Created attachment 84366 [details]
aforementioned test case
Comment 2 Willie Walker 2007-03-11 21:10:11 UTC
I'd guess a non-breaking character check needs to be added to default.py:isWordDelimiter.  isWordDelimiter may also need to be rewritten to work with unicode internally instead of UTF-8 (right now, it works with UTF-8 and converts any incoming unicode to UTF-8 before processing it).  See the following URL for more information:

http://en.wikipedia.org/wiki/Non-breaking_space
Comment 3 Willie Walker 2007-03-14 16:25:19 UTC
Created attachment 84583 [details] [review]
Patch to add no break space character to word delimiter check

This patch adds the no break space character to the word delimiter check.  Seems to work.  Joanie, can you please verify?
Comment 4 Joanmarie Diggs (IRC: joanie) 2007-03-14 16:39:16 UTC
Verified. Thanks!!
Comment 5 Willie Walker 2007-03-14 21:06:18 UTC
Thanks! Committed and closing as FIXED.