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

Navigator.maxTouchPoints not working under Linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.5.0
    • 5.8.0, 5.9.1
    • WebEngine
    • None
    • Archlinux, Qt5.9.1
    • bb1748337 (106-based), 48fa0fb2c (dev), 6ca89b741 (108-based), ccf27a0c4 (134-based-refactor)

      The navigator interface property maxTouchPoints is reporting 0 even if a multi-touch device is connected under Linux. Chromium reports this property correctly.

      It is working under Windows.

      https://developer.mozilla.org/en-US/docs/Web/API/Navigator/maxTouchPoints

       

      After a conversation in the interest maillinglist

      http://lists.qt-project.org/pipermail/interest/2017-September/028000.html

      and some digging into the chromium code I think that this can't work because the ozone platform qt has/uses no event source for the chromium DeviceDataManager. X11 uses X11EventSourceLibevent class and  the drm/gbm platform uses EventFactoryEvdev class.

      Windows is working because the touch_device_win.cc uses Windows system functions and not the DeviceDataManager.

       

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

            mnegyokru Martin Negyokru
            h4nn35 Johannes Pointner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes