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

drm hardware cursor behaves incorrectly with multiple screens

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.12, 5.13, 5.14, 5.15
    • Fix Version/s: 5.15
    • Component/s: QPA: EGLFS
    • Labels:
      None

      Description

      When running with eglfs_kms with at least two screens connected, one would expect the mouse cursor (done via the drm cursor plane) to behave in a sane way with the default virtual desktop behavior, meaning it should only be shown on one screen at a time.

      This is not the case currently because the implementation assumes that moving (as in drmModeMoveCursor) the cursor to an out of range location will result in a hidden cursor. While this used to work on some systems, it leads to artifacts on some others. We should rather disable and enble the cursor when moving out and then back in to the screen's bounds.

      On some systems the result is artifacts on the screen where the cursor is not in range. See attached photo. There the cursor is shown correctly on the below screen, but is leading to artifacts on the top one.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes