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 113590 - vte and AtkText selection
vte and AtkText selection
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.11.x
Other Solaris
: High major
: ---
Assigned To: VTE Maintainers
Nalin Dahyabhai
AP2,list-kmaraas
Depends on:
Blocks: 138653
 
 
Reported: 2003-05-23 11:06 UTC by padraig.obriain
Modified: 2005-08-10 13:29 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Proposed patch (12.34 KB, patch)
2003-07-18 10:49 UTC, padraig.obriain
none Details | Review
Updated patch so it applies to CVS HEAD (10.08 KB, patch)
2003-11-26 13:58 UTC, padraig.obriain
needs-work Details | Review
Reworked patch (13.02 KB, patch)
2004-05-06 08:24 UTC, padraig.obriain
none Details | Review
Correct reworked patch (11.15 KB, patch)
2004-05-06 08:31 UTC, padraig.obriain
none Details | Review
updated patch for HEAD (11.33 KB, patch)
2005-08-10 13:29 UTC, Kjartan Maraas
none Details | Review

Description padraig.obriain 2003-05-23 11:06:44 UTC
It does not seem possible to implement atkText selection methods for
VteAccessible as the selection information is hidden away in the
bVteTerminalPrivate data structure.
Comment 1 Calum Benson 2003-06-25 23:20:32 UTC
Marking AP1 to reflect a11y team's assessment of a11y impact.
Comment 2 bill.haneman 2003-06-26 09:54:29 UTC
wow, this is very serious indeed.
Comment 3 padraig.obriain 2003-07-18 07:27:44 UTC
I am having a look at this.
Comment 4 padraig.obriain 2003-07-18 10:49:07 UTC
Created attachment 18412 [details] [review]
Proposed patch
Comment 5 Calum Benson 2003-08-07 16:18:47 UTC
Apologies for spam... marking as GNOMEVER2.3 so it appears on the official GNOME
bug list :)
Comment 6 bill.haneman 2003-09-12 12:18:31 UTC
There's a patch moldering for this... can we get a review from the
maintainer(s)? thanks.  Or did we just forget to close this?
Comment 7 bill.haneman 2003-09-19 16:36:41 UTC
ping, ping... nalin, is Padraig's patch acceptable?
Comment 8 padraig.obriain 2003-11-26 13:58:35 UTC
Created attachment 21826 [details] [review]
Updated patch so it applies to CVS HEAD
Comment 9 Nalin Dahyabhai 2004-05-06 05:07:29 UTC
43, 50, 65, 80: need newline between return type and function name.  Try to be
consistent with the rest of the module.
59, 62, 74, 77, 174, 197, 202, 204, 258, 283, 287, 290: braces around "then"
clause.  Try to be consistent with the rest of the module.
266: braces around "else" clause.  Try to be consistent with the rest of the module.
50, 135, 342, 364, 430, 437, 438, 439, 440, 464, 469, 491 518, 519: remove
whitespace after function name.  Try to be consistent with the rest of the module.
491: group separate portions of the expression in parentheses.

In _vte_terminal_select_text, the section which determines whether we should be
selecting by character, word, or line looks broken -- my understanding of the
AtkText data model is that selection-by-character is the only supported means,
anything else is a hack.
Comment 10 padraig.obriain 2004-05-06 08:24:08 UTC
Created attachment 27419 [details] [review]
Reworked patch

I have attemtped to address your comments. I was confused by references to line
numbers greather than 314 as the patch only has that number of lines.

I have removed the determination of selection method in
_vte_terminal_select_text. Its purpose was to attempt to select by line or word
if that was possible on the assumption that it would be more efficient that to
select by character if a large amount of text was to be selected.

This updated patch also contains patch for bug #138653.
Comment 11 padraig.obriain 2004-05-06 08:31:35 UTC
Created attachment 27420 [details] [review]
Correct reworked patch

The previous patch was wrong.
Comment 12 bill.haneman 2004-06-14 11:29:03 UTC
Nalin: comments please on Padraig's new patch...
Comment 13 Kjartan Maraas 2004-10-18 09:36:59 UTC
This should be looked at for inclusion in the next cycle I guess. Nalin?
Comment 14 Calum Benson 2004-10-21 16:50:56 UTC
Apologies for spam-- ensuring Sun a11y team are cc'ed on all current a11y bugs.
 Filter on "SUN A11Y SPAM" to ignore.
Comment 15 Kjartan Maraas 2005-02-14 22:00:41 UTC
Patch still applies except the ChangeLog entry...
Comment 16 bill.haneman 2005-02-14 22:03:02 UTC
This patch is important for GOK and screenreader users.
Comment 17 Kjartan Maraas 2005-07-03 20:38:49 UTC
Bill, Padraig: Has this patch been tested in any of your packages for some time?
If it has I'd say we should just commit it and get it resolved once and for all.
Comment 18 bill.haneman 2005-07-13 13:53:18 UTC
We've been testing with the patch for many months now.
Comment 19 Kjartan Maraas 2005-08-10 13:29:03 UTC
Created attachment 50522 [details] [review]
updated patch for HEAD

I had to manually update the patch some since it had rejects in vte.c.
Attaching the commited version here.
Comment 20 Kjartan Maraas 2005-08-10 13:29:32 UTC
Commited.