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 704399 - ev_view_accessible_get_caret_offset doesn't work if the caret navigation is enabled
ev_view_accessible_get_caret_offset doesn't work if the caret navigation is e...
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-07-17 14:32 UTC by Antía Puentes
Modified: 2013-07-18 08:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Return the correct offset when the caret navigation is enabled (1.15 KB, patch)
2013-07-17 14:56 UTC, Antía Puentes
committed Details | Review

Description Antía Puentes 2013-07-17 14:32:29 UTC
ev_view_accessible_get_caret_offset doesn't return the correct offset value if the caret navigation is enabled.
Comment 1 Antía Puentes 2013-07-17 14:56:40 UTC
Created attachment 249409 [details] [review]
Return the correct offset when the caret navigation is enabled

ev-view-accessible only maintains the text of the current page, but the cursor could be in a different page, as we work with offsets per page, the patch returns offset == -1 in that case.
Comment 2 Carlos Garcia Campos 2013-07-18 08:03:26 UTC
Review of attachment 249409 [details] [review]:

Ok, pushed to git master, thanks!