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 248171 - gok's word+, word- do not work well in composer
gok's word+, word- do not work well in composer
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: Editing
unspecified
Other All
: Normal enhancement
: ---
Assigned To: yuedong du
Evolution QA team
Depends on:
Blocks: 244862
 
 
Reported: 2003-09-05 01:56 UTC by yuedong du
Modified: 2009-08-21 03:23 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
patch for review (3.03 KB, patch)
2003-09-05 02:07 UTC, yuedong du
none Details | Review

Description yuedong du 2003-09-05 01:56:23 UTC
Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:


Steps to reproduce the problem:
1. start evolution with accessibility, open new mail composer, write a
string into it, e.g., "123456789 123456789 123456789 ".
2. then start gok, select compose/text manipulation from the gok panel
3. use word+ to forward.

Actual Results:
word+ can only succeed when move from first to second word, failed to move
to the 3rd.



Expected Results:
should always ok

How often does this happen? 


Additional Information:
Comment 1 yuedong du 2003-09-05 02:05:06 UTC
the implementation of interface atk_text_get_text_at_offset() use the
GailTextUtil to accomplish the task. The GailTextUtil is initialized
when the atk text object is created. 

So when the atk text object is created, it may be only "123456789". So
the GtkTextBuffer used by GailTextUtil is also initialized to be
"123456789".  Later text is changed in composer, but GailTextUtil will
not be refreshed. Thus the problem.

My fix is just to refresh the buffer according to the text object each
time the interface is called.



Comment 2 yuedong du 2003-09-05 02:07:33 UTC
Created attachment 42887 [details] [review]
patch for review
Comment 3 yuedong du 2003-09-08 09:10:21 UTC
fixed in cvs.
Comment 4 Max Kanat-Alexander 2009-08-21 03:23:21 UTC
This bug was marked RESOLVED without a resolution, which Bugzilla does not allow (and so I am fixing it). It is assumed that the bug was intended to be marked as FIXED. If the bug should have some other resolution, please change its resolution.