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 422475 - Orca should speak the word just deleted if you enter Control-Backspace with Evolution.
Orca should speak the word just deleted if you enter Control-Backspace with E...
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: speech
2.18.x
Other All
: High major
: 2.20.0
Assigned To: Rich Burridge
Orca Maintainers
Depends on: 438945
Blocks:
 
 
Reported: 2007-03-25 00:31 UTC by Rich Burridge
Modified: 2008-07-22 19:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Full Orca debug.out generating whilst reproducing this problem. (114.22 KB, text/plain)
2007-05-15 20:26 UTC, Rich Burridge
  Details
Debug from Orca whilst testing this in the Evolution compose window. (90.91 KB, text/plain)
2007-05-16 13:58 UTC, Rich Burridge
  Details
for fixing bug 422475 (997 bytes, patch)
2007-06-19 08:45 UTC, Yi Jin
none Details | Review
for fixing bug 422475 (997 bytes, patch)
2007-06-19 08:45 UTC, Yi Jin
committed Details | Review

Description Rich Burridge 2007-03-25 00:31:34 UTC
From Darragh on the Orca mailing list:

"I would also really like it if Orca would call out the word that I am
deleting when I press control and backspace.  It reads out what I'm
deleting letter by letter but if I'm really messy I like deleting by
word and I'm kind of use to the screen reader telling me what I'm
deleting."
Comment 1 Rich Burridge 2007-05-15 20:26:37 UTC
Created attachment 88244 [details]
Full Orca debug.out generating whilst reproducing this problem.

Steps to reproduce:

1/ Start gedit
2/ Type in "The quick brown fox jumps over the lazy dog." on one line.
3/ Position the cursor at the end of that line.

4/ Start Orca.
5/ Type Control-Backspace a few times to delete words.

The words that have just been deleted are spoken but there is
no indication that they have been deleted.

Investigating further...
Comment 2 Rich Burridge 2007-05-15 20:42:41 UTC
Okay, I think I need clarification here. If I Control-Backspace
over the line, the deleted word is being spoken. Should it also
be appending the word "deleted"? As in "dog deleted"? It doesn't
seem to append the word "deleted" for each character as you delete
it, so I'm assuming no.

Mike, could you clarify please?
Comment 3 Mike Pedersen 2007-05-15 20:48:03 UTC
Rich, I poorly worded this bug.  If you now have it speaking the word that was deleted this is the correct behavior.  
Sorry for the confusion 
Comment 4 Rich Burridge 2007-05-15 22:27:15 UTC
Okay thanks.

I just went and tried it in OOo Writer and in the Evolution compose window.
The former works, the latter is silent.

I'll investigate that further tomorrow.
Comment 5 Rich Burridge 2007-05-16 13:58:51 UTC
Created attachment 88293 [details]
Debug from Orca whilst testing this in the Evolution compose window.
Comment 6 Rich Burridge 2007-05-16 14:00:05 UTC
I investigated the Evolution problem in more detail.

Steps to reproduce:

1/ Start Evolution in mail mode.
2/ Select "Message->Compose New Message" to  bring up a new compose window.
3/ Type into the body of the message: "The quick brown fox".
4/ Make sure that the text cursor is positioned at the end of that line.
5/ Start Orca.
6/ Give focus to the Evolution compose window.
7/ Hit Control-Backspace a few times.

What you've see from the Orca debug log is that the first Control-Backspace
keyevents are at about line 900, but we do not get any
"object:text-changed:delete" events, so we can't correctly speak the 
deleted word in default.onTextDeleted().

This looks like yet another Evolution bug. Will, do you agree?
If so, then I'll file it and block this one against it.

I've also adjusted the Summary of this bug to explicitly mention Evolution.
Comment 7 Willie Walker 2007-05-16 16:38:58 UTC
> What you've see from the Orca debug log is that the first Control-Backspace
> keyevents are at about line 900, but we do not get any
> "object:text-changed:delete" events, so we can't correctly speak the 
> deleted word in default.onTextDeleted().
> 
> This looks like yet another Evolution bug. Will, do you agree?
> If so, then I'll file it and block this one against it.

Yep - from the description and debug log, it looks like an Evolution bug.  :-(
Comment 8 Rich Burridge 2007-05-16 17:23:12 UTC
Thanks. I've opened Evolution bug #438945 on this 
problem and blocked this one.
Comment 9 Willie Walker 2007-05-25 16:27:15 UTC
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.
Comment 10 Yi Jin 2007-06-19 08:45:27 UTC
Created attachment 90260 [details] [review]
for fixing bug 422475
Comment 11 Yi Jin 2007-06-19 08:45:52 UTC
Created attachment 90261 [details] [review]
for fixing bug 422475
Comment 12 Willie Walker 2007-06-19 13:09:30 UTC
Thanks Yi!  Can you make sure this gets in as a fix for bug 438945, which is what this bug depends upon?
Comment 13 Yi Jin 2007-06-22 06:21:12 UTC
Will, yes. I think it should be a fix for bug 438945. :-)
Comment 14 Willie Walker 2007-07-10 15:52:48 UTC
Removing [blocked] since the bug this depends upon has been marked as fixed.  Rich, can you please verify the fix?
Comment 15 Rich Burridge 2007-07-10 17:15:46 UTC
I've got a gutsy release on my 32bit PC. Later this week there should
be a package with a new version of Evolution in it (presumably built
from SVN HEAD). To save me having to build Evolution and all it's
subcomponents from SVN HEAD myself, I'll test against that new 
Evolution package when it becomes available.
Comment 16 Rich Burridge 2007-07-12 18:34:25 UTC
Just tried this with Evolution 2.11.5 and latest Orca on my gutsy Ubuntu PC
and it now works nicely. Closing as FIXED.
Comment 17 Rich Burridge 2007-07-12 18:39:38 UTC
Re-opening. I wasn't reading the summary closely enough.
This seems to be broken in gedit as well. Neither say
"deleted" after you've Control-Backspaced over a word.

It's also unclear whether the patch below has been committed
and included in a gtkhtml release. Yi Jin can you tell us
the status of this patch please?

I'll investigate the Orca/gedit side of things further.
Comment 18 Joanmarie Diggs (IRC: joanie) 2007-07-12 18:44:15 UTC
Rich, I don't think we want to say "deleted."  Mike said this:

(From comment #3)
> Rich, I poorly worded this bug.  If you now have it speaking the word that was
> deleted this is the correct behavior.  

And I would agree.  I think there's a certain (safe) assumption that when the user presses backspace, they know they just got rid of a character so we just speak the character as confirmation.  Similarly I would assume that if a user presses control+backspace all they need is confirmation of the word that was removed.

Comment 19 Rich Burridge 2007-07-12 18:54:36 UTC
Phew! Okay. Thanks Joanie. I'm updating the Summary to better
reflect reality and closing it out again as FIXED.