GNOME Bugzilla – Bug 422475
Orca should speak the word just deleted if you enter Control-Backspace with Evolution.
Last modified: 2008-07-22 19:28:06 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."
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...
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?
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
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.
Created attachment 88293 [details] Debug from Orca whilst testing this in the Evolution compose window.
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.
> 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. :-(
Thanks. I've opened Evolution bug #438945 on this problem and blocked this one.
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.
Created attachment 90260 [details] [review] for fixing bug 422475
Created attachment 90261 [details] [review] for fixing bug 422475
Thanks Yi! Can you make sure this gets in as a fix for bug 438945, which is what this bug depends upon?
Will, yes. I think it should be a fix for bug 438945. :-)
Removing [blocked] since the bug this depends upon has been marked as fixed. Rich, can you please verify the fix?
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.
Just tried this with Evolution 2.11.5 and latest Orca on my gutsy Ubuntu PC and it now works nicely. Closing as FIXED.
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.
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.
Phew! Okay. Thanks Joanie. I'm updating the Summary to better reflect reality and closing it out again as FIXED.