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

Windows: QApplication never detect TabletLeaveProximity event

    XMLWordPrintable

Details

    • e2203163d9cd03165142d98fa9ba8aaf5a9c3085 (branch 5.3, 18.7.2014, 5.3.2)

    Description

      QApplication never detect TabletLeaveProximity event, it only detect TabletEnterProximity event.

      workaround:
      implement the following code in your receiver window/widget:

      bool MyWidget::nativeEvent(const QByteArray &eventType, void *message, long *result)
      {
      #if defined(Q_OS_WIN32)
      if(eventType=="windows_generic_MSG")
      {
      MSG* msg=(MSG*)message;
      switch (msg->message)

      { case WM_POINTERLEAVE: //TabletLeaveProximity event break; }

      }
      return false;
      #endif
      }

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              divide Robin Lobel
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes