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

drm hardware cursor behaves incorrectly with multiple screens

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15
    • 5.12, 5.13, 5.14, 5.15
    • QPA: EGLFS
    • 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

        For Gerrit Dashboard: QTBUG-79924
        # Subject Branch Project Status CR V

        Activity

          People

            lagocs Laszlo Agocs
            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