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 413457 - Arrowing over the "-" character can result in dash being heard twice
Arrowing over the "-" character can result in dash being heard twice
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: speech
unspecified
Other All
: Normal normal
: ---
Assigned To: Willie Walker
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-01 15:05 UTC by Willie Walker
Modified: 2007-03-01 17:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to modify how 'dash' is treated for verbalized punctuation (868 bytes, patch)
2007-03-01 15:19 UTC, Willie Walker
none Details | Review
Patch to modify how 'dash' is treated for verbalized punctuation (868 bytes, patch)
2007-03-01 15:19 UTC, Willie Walker
committed Details | Review

Description Willie Walker 2007-03-01 15:05:21 UTC
Halim Sahin wrote:
> Perhaps a little bug:
> 
> I am getting in German
> Strich Bindestrich,
> after typing only one -
> The Strich comes from the german translation and the Bindestrich perhaps 
> directly from the synthesizer.
Comment 1 Willie Walker 2007-03-01 15:19:34 UTC
Created attachment 83642 [details] [review]
Patch to modify how 'dash' is treated for verbalized punctuation

It turns out that the "-" is being morphed into "dash-" via our verbalized punctuation code. The patch changes the punctuation classification of the "-" character to REPLACE versus INSERT.  I'm not sure if this is the right thing to do.  Rich, do you remember reasons for why "-" is an INSERT versus REPLACE?
Comment 2 Willie Walker 2007-03-01 15:19:34 UTC
Created attachment 83643 [details] [review]
Patch to modify how 'dash' is treated for verbalized punctuation

It turns out that the "-" is being morphed into "dash-" via our verbalized punctuation code. The patch changes the punctuation classification of the "-" character to REPLACE versus INSERT.  I'm not sure if this is the right thing to do.  Rich, do you remember reasons for why "-" is an INSERT versus REPLACE?
Comment 3 Willie Walker 2007-03-01 15:21:54 UTC
Both patches are identical in the previous comments.  I'm not sure what happened with Bugzilla.  
Comment 4 Willie Walker 2007-03-01 15:42:11 UTC
Halim reports: "And I can tell you that the patch fixed the Problem."
Comment 5 Rich Burridge 2007-03-01 15:46:42 UTC
> Rich, do you remember reasons for why "-" is an INSERT versus REPLACE?

Negative number maybe? Dunno. Mike might have an idea. Could be just a bug.
Comment 6 Willie Walker 2007-03-01 17:29:08 UTC
Tested with negative numbers and it seems to work well.  The only issue, which I don't think is related to this bug/patch is that if a negative number is the first thing on a line, we'll hear "dash" followed by the number instead of "minus" followed by the number.  I think that might be another special case to add to bug 392939.  Closing this bug and reopening bug 392939.