[Webkit-unassigned] [Bug 120638] New: [ATK] Implement new API in AtkText: atk_text_get_string_at_offset()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 3 10:09:06 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=120638

           Summary: [ATK] Implement new API in AtkText:
                    atk_text_get_string_at_offset()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mario at webkit.org
                CC: jdiggs at igalia.com, apinheiro at igalia.com,
                    cgarcia at igalia.com


New API for AtkText has been introduced in ATK 2.9.4 (see release notes in [1]) after the work started during GUADEC as part of GNOME bug 705580 [2], so now implementors such as WebKitGTK+ should provide an implementation for this new function atk_text_get_string_at_offset(), which should provide exactly the same semantics than the old atk_text_get_text_at_offset() for ATK_TEXT_BOUNDARY_*_START boundaries.

We can't just remove the implementation of the other functions yet because we can't raise the ATK dependency up to 2.9.4 yet, and also because we can't expect systems were WebKitGTK+ is running to have a new enough version of the AT-SPI2 subsystem (we would need at least AT-SPI 2.9.90 for that, see [3]), but we can add some conditional code (and tests) now so we are sure once the moment comes WebKitGTK+ will be ready to provide the requested information.

Of course, once we are sure we can assume modern enough versions of ATK and AT-SPI, we should do some cleaning in WebKitAccessibleInterfaceText.cpp and get rid of a lot of code we won't longer need, that is, the implementation of atk_text_get_text_*_offset() and the need to consider ATK_TEXT_BOUNDARY_*_END boundaries.

[1] https://mail.gnome.org/archives/gnome-accessibility-devel/2013-August/msg00021.html
[2] https://bugzilla.gnome.org/show_bug.cgi?id=705580
[3] https://mail.gnome.org/archives/gnome-accessibility-devel/2013-August/msg00022.html

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list