Skip to content

qt: pointer handler accepted device adjustments

Fatih Uzunoğlu requested to merge fuzun/vlc:qt/handlerdevice into master
  • Setting the accepted device to only mouse causes problems. Sometimes, particularly on Wayland, a mouse does not identify as a mouse. At the same time, trackpad can not be used as well as it is considered to be a different device. This was used to prevent interfering with dragging and flicking the view, which is a use case mainly with touch screen. However, according to QTBUG-73035, and commit 250053 [1], it appears that having a direct tap handler within Flickable should not cause issues with touch screen.

  • It is not possible to have both delegate dragging and Flickable dragging/flicking. Since scrolling the view is more important than dragging the delegate (mouse users can use the wheel to scroll, unfortunately that is not possible with touch screen), the drag handler of the delegate should not accept touch screen so that the Flickable can handle dragging and flicking for scrolling.

Request review @chub.

[1] https://codereview.qt-project.org/c/qt/qtdeclarative/+/250053

Merge request reports