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

QPointingDevices for the trackpad and mouse are dynamically instantiated on macOS

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes