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

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      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

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes