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

QWindow::touchEvent not called (on Mac)

    XMLWordPrintable

Details

    • macOS

    Description

      The QWindow::touchEvent () protected function is not called when the track pad is touched. Nor are QTouchEvent's seen in in the event function.

      These events ARE seen in a QWidget equivalent.

      According to the 5.6 documentation:

      "Unlike widgets, QWindows receive touch events always, there is no need to opt in. When working directly with a QWindow, it is enough to reimplement QWindow::touchEvent()."

      The attached simple test app uses QRasterWindow, but the same problem exists using QWindow.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            nethers David Netherwood
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes