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 |
| 439924,7 | Override chromium's pointer_device implementations | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
| 446174,2 | Adapt PointerDevice for WebEngine | 106-based | qt/qtwebengine-chromium | Status: MERGED | +2 | 0 |
| 448620,3 | Adapt PointerDevice for WebEngine | 108-based | qt/qtwebengine-chromium | Status: MERGED | +2 | 0 |