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 347347 - [a11y] Moving the caret around in the message arrow doesn't generate "object:text-caret-moved" events.
[a11y] Moving the caret around in the message arrow doesn't generate "object:...
Status: RESOLVED WONTFIX
Product: GtkHtml
Classification: Other
Component: html-editor-control
3.14.x
Other All
: Normal normal
: ---
Assigned To: gtkhtml-maintainers
gtkhtml-maintainers
gnome[unmaintained]
: 353458 535512 677500 (view as bug list)
Depends on:
Blocks: 353458
 
 
Reported: 2006-07-12 22:14 UTC by Rich Burridge
Modified: 2017-02-09 13:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
For fixing bug 347347 (1.83 KB, patch)
2007-04-13 09:23 UTC, Yi Jin
reviewed Details | Review
For fixing bug 347347 (1.88 KB, patch)
2007-04-20 07:59 UTC, Yi Jin
committed Details | Review
Add a11y support for "ctrl-shitf-left" and "ctrl-shift-right" (924 bytes, patch)
2007-06-15 07:56 UTC, Yi Jin
committed Details | Review

Description Rich Burridge 2006-07-12 22:14:40 UTC
Testing with latest Orca on Solaris x86 Nevada build 34, vermillion build 42.
Start up Orca. Start up Evolution mail. Compose a new message.
Type something in the message body such as:

The quick brown fox
jumps over the lazy dog.

Position the caret on one of those two lines. 
Hold the shift key down. Hit the left/right 
arrows as appropriate to select text.

What should be happening here is that "object:text-caret-moved"
events should be generated and read by Orca to allow it to tell
the user whether the text is being selected or not. No such
events are occuring.

Try the same test in a gedit window to see the proper events 
being generated (and Orca's response to them).
Comment 1 Rich Burridge 2006-10-23 20:14:51 UTC
Hi. Any update of this bug?  Thanks.
Comment 2 krister 2007-03-19 21:14:25 UTC
Hello, We're now up to Evolution 2.10 and still nothing has happened regarding this bug. The reason i bug you about this is that on some mailing lists and other places, top posting is not an option, those who get cought top posting get kicked out of the list. Now in the latest Evo, everything works wonderfully except this bug. 
Thanks
/Krister
Comment 3 Yi Jin 2007-04-13 09:23:28 UTC
Created attachment 86278 [details] [review]
For fixing bug 347347
Comment 4 Srinivasa Ragavan 2007-04-18 09:02:50 UTC
Can you add the NONE at the end of the enum. Otherwise it looks fine.
Comment 5 Yi Jin 2007-04-20 07:59:20 UTC
Created attachment 86680 [details] [review]
For fixing bug 347347

Modified patch, moved NONE to the last
Comment 6 Srinivasa Ragavan 2007-04-20 08:48:25 UTC
Please commit.
Comment 7 Li Yuan 2007-04-20 08:52:34 UTC
Have committed to trunk. Can we commit to 2-18 branch too?
Comment 8 Srinivasa Ragavan 2007-04-20 09:26:36 UTC
Should be ok.
Comment 9 Li Yuan 2007-04-20 09:56:49 UTC
Done. Thank you for reviewing the patch.
Comment 10 krister 2007-04-20 14:03:48 UTC
Hi, Is this something that i can try as an end user and if so, should i check out Evo from SVN? 
/Krister
Comment 11 Li Yuan 2007-04-23 02:23:39 UTC
Yes, please check-out from SVN. Both trunk and gnome-2-18 branch is OK.
Comment 12 krister 2007-04-30 11:03:44 UTC
I have checked out, and managed to build Evo from SVN, however, the bug is still there, at least on my system. I still don't hear the text i select neither from the message viewing window nor the compose window. Is there anything anywhere i should enable or is it something the Orca developers aren't yet aware of is fixed, or what's wrong here?
Evo v2.12 is the version i'm using. Is there anything else besides Evo and data server i should check out?
/Krister
Comment 13 Harry Lu 2007-04-30 11:20:09 UTC
Krister, the patch is for gtkhtml, not in Evolution. Have you checked out and build gtkhtml?
Comment 14 krister 2007-04-30 11:53:54 UTC
Umm, nope i haven't. Sorry for the misunderstanding... I'll try building GtkHtml.
/Krister
Comment 15 krister 2007-04-30 12:39:42 UTC
Ok, now i have checked out and built gtkhtml and the bug is partially fixed. When i hold down shift and hit left and right arrow, i can hear what's being selected, however when pressing shift+ctrl+left or right arrow to select by words, the selected text isn't spoken. Likewise if i press shift up- or down arrow to select line, the lines selected aren't spoken.
/Krister
Comment 16 Rich Burridge 2007-05-14 22:59:46 UTC
Reopening based on comment #15 from Krister. Thanks for testing it. 
Comment 17 Yi Jin 2007-05-15 06:46:15 UTC
In order to fix this bug once, 
can I firstly get a complete set of possible operations?

  
Comment 18 krister 2007-05-15 08:48:55 UTC
Hi,
Not entirely sure what you mean here, but you can move the cursor around in basically three ways:
Firstly using only arrows up, down, left and right. This produses desired results, in that the screen reader reports moving by character, (arrows left/right) and moving line by line, (arrows up and down respectively)
You can move by word with ctrl+left and right arrows. I haven't tested this, but i think this behaves as expected and Orca reports back the word the cursor moves over.
However you can move by character, word and line and selecting that text with shift+up or down arrows for moving by line, shift +left or right arrow for moving by and selecting character and shift+ctrl+left or right arrow for moving by and selecting words.
Shift +left and right arrow makes Orca say selected character, but shift+ctrl+left or right arrow and shift+up and down arrow leaves Orca silent. This is true in the message reading window as well as in the compose window.
If you need further clarifications, please let me know.
/Krister
Comment 19 Yi Jin 2007-05-15 09:36:53 UTC
Hi, krister! I think you have provided enough information to me. Thanks.
Comment 20 Yi Jin 2007-06-15 07:56:29 UTC
Created attachment 89996 [details] [review]
Add a11y support for "ctrl-shitf-left" and "ctrl-shift-right"

Add a11y support for "ctrl-shitf-left" and "ctrl-shift-right"
Comment 21 Yi Jin 2007-06-15 08:11:25 UTC
In my opinion, it is complex and a little difficult to let gtkhtml support accessiblities of  "Shift-Up" and "Shift-Down". 

In gtkhtml,  each line of text is considered as different accessible object. When  the cursor is moved to  different line, it will fire "object:property-change:accessible-parent" other than "text_caret_moved". And HTMLA11YText's html_a11y_text_get_selection()  will only return the selected text in its line, not all the selected text.

Maybe, we should add new codes to fire "text_selection-changed" and collect whole selected text.





 
Comment 22 Srinivasa Ragavan 2007-07-03 04:57:33 UTC
Yi Jin, May be that is should be an enhancement. Please commit this patch for now.
Comment 23 Li Yuan 2007-07-03 06:28:38 UTC
Patch committed. Thanks for review.
Comment 24 Joanmarie Diggs (IRC: joanie) 2007-07-24 18:24:55 UTC
> When  the cursor is moved to  different line, it will fire
> "object:property-change:accessible-parent" other than "text_caret_moved". 

Actually, I only see focus: events.   Assuming that Shift is NOT held down, of course.  If Shift IS being held down when Up or Down Arrow is pressed, we're getting no events whatsoever. :-(

It would be really handy if we could always get focus: events when the caret moved to a different line.  (i.e. even if text is being selected) Is this doable?

Thanks!
Comment 25 Willie Walker 2007-11-01 14:18:08 UTC
Just a ping to see how progress is being made on this.  Thanks!
Comment 26 André Klapper 2008-01-08 14:00:22 UTC
yeah, any news here? what's the current status, what does still have to be done?
Comment 27 Rich Burridge 2008-05-29 15:26:27 UTC
*** Bug 535512 has been marked as a duplicate of this bug. ***
Comment 28 André Soares 2009-01-11 21:27:21 UTC
This seems to be dead, but anyway...
shift+home/end also doesn't speak the selection.

On the Orca side, in the cases where the selection is spoken (shift+right/left and shift+ctrl+right/left) it should also say "selected"/"unselected", like in gedit.
Comment 29 Joanmarie Diggs (IRC: joanie) 2010-04-02 14:52:58 UTC
I assume that Evolution (which is the main app in which users run across this bug) will ultimately be migrating to WebKitGtk. But.... What should we do about this bug?

Thanks!
Comment 30 Joanmarie Diggs (IRC: joanie) 2012-06-05 18:35:28 UTC
*** Bug 677500 has been marked as a duplicate of this bug. ***
Comment 31 Joanmarie Diggs (IRC: joanie) 2012-08-14 21:01:35 UTC
*** Bug 353458 has been marked as a duplicate of this bug. ***
Comment 32 André Klapper 2017-02-09 13:40:36 UTC
GtkHtml is not under active development anymore. 
Evolution (its main consumer) switched to a WebKit backend a while ago. 
It is currently unlikely that there will be any further GtkHtml development.

Closing this report as WONTFIX as part of Bugzilla Housekeeping (bug 778387) to reflect reality. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again.