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 700183 - Deprecate the START/END text boundaries; create new boundaries which mimic START functionality
Deprecate the START/END text boundaries; create new boundaries which mimic ST...
Status: RESOLVED DUPLICATE of bug 705580
Product: atk
Classification: Platform
Component: atk
unspecified
Other Linux
: Normal normal
: ---
Assigned To: ATK maintainer(s)
ATK maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-05-12 15:14 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2013-12-16 11:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joanmarie Diggs (IRC: joanie) 2013-05-12 15:14:57 UTC
Currently [1] ATK has the following AtkTextBoundary variants:
  ATK_TEXT_BOUNDARY_CHAR
  ATK_TEXT_BOUNDARY_WORD_START
  ATK_TEXT_BOUNDARY_WORD_END
  ATK_TEXT_BOUNDARY_SENTENCE_START
  ATK_TEXT_BOUNDARY_SENTENCE_END
  ATK_TEXT_BOUNDARY_LINE_START
  ATK_TEXT_BOUNDARY_LINE_END

This is overkill (ATs don't need them all) and also more work for implementors of ATK.

Instead we should have:
  ATK_TEXT_BOUNDARY_CHAR
  ATK_TEXT_BOUNDARY_WORD
  ATK_TEXT_BOUNDARY_SENTENCE
  ATK_TEXT_BOUNDARY_LINE

The word, sentence, and line boundaries would have the same behavior as the "start" variant.

On a related note, Orca is the main (if not the only) consumer of this functionality. It no longer uses the END variant for the above boundaries.

[1] https://developer.gnome.org/atk/unstable/AtkText.html#AtkTextBoundary
Comment 1 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-12-16 11:18:16 UTC
AtkTextBounday became deprecated in favor of AtkTextGranularity with bug 705580. Closing as duplicate.

*** This bug has been marked as a duplicate of bug 705580 ***