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

QPointingDevices for the trackpad and mouse are dynamically instantiated on macOS

    XMLWordPrintable

Details

    • macOS
    • 32a56ba8f (dev), e801fced5 (6.7), 8473329c2 (6.6), 97fd6ce85 (tqtc/lts-6.5)

    Description

      This is a consequence of aa4ff7b2e9d4523dbc44afad98a4e3570ec6a997 https://codereview.qt-project.org/#/c/205278/

      On Linux (with various platform plugins) we have tried to always enumerate the devices when Qt is initialized; and in the past, we always created a single QTouchDevice representing the trackpad, on startup. (Which was a bit wrong because it's like the "core pointer" idea - an anonymous device, when in fact we can really distinguish the devices, and it's useful to know when there are multiple trackpads.)

      I'm not sure yet what exactly this is going to affect... but it's now a minor platform difference, and it would be much better if we could find macOS API to enumerate the devices at Qt initialization time, and also be notified when devices are hotplugged, rather than waiting until we get events from them.

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes