Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95725

Accessibility: character position in pixels doesn't match actual caret's Y coordinates

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.0
    • None
    • Linux/X11

    Description

      If you open any source file in Qt Creator's editor and move the caret,
      the focus' position as reported through the At-SPI bus is incorrect:
      whilst the horizontal coordinates are updated accurately, the vertical
      (Y) coordinates remain stuck on the first line.

      In the attached screenshot, the caret is on line 5 whereas the reported
      focus position (highlighted in red) is still on line 1.

      This is important from an accessibility point of view because assistive
      technologies rely on that output to provide visually-impaired users with
      focus tracking (e.g. moving zoom, screen readers etc.).

      Also attached is a Python script that can help reproduce the problem.
      It depends on Cairo, GTK 3 and py-atspi.

      Attachments

        1. position.py
          3 kB
        2. screenshot.png
          screenshot.png
          67 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            smd Jan Arve
            vvillenave Valentin Villenave
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes