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

REG 5.9.3->5.94: Components in QQuickWidget does not receive some events from touch

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.9.4
    • Quick: Widget
    • Windows 10 x64, Qt 5.9.4 msvc2017 official release
      Surface Pro 2017 touchscreen

    Description

      Steps to reproduce:

      Take the example quick/quickwidgets/quickwidget as base.
      In rotatingsquare.qml, add import QtQuick.Controls 2.1 to the top, then the following inside the root Rectangle:

          Button {
              text: "Button"
              width: root.width / 2
              height: root.width / 3
              onClicked: {
                  console.log("Button is pressed")
              }
          }
      

      Run program, click on the button with touchscreen and with mouse

      Expected: "Button is pressed" will be printed on stdout for both

      Actual: "Button is pressed" is printed only for mouse click, but not on touch click

      You can also try a SwipeView. Swiping with touchscreen will fail to swipe pages.

      This is a regression in 5.9.4. The same works on 5.9.3.

      I suspect it could be a result of the fix to QTBUG-64241, but I may be completely wrong.

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            alvinhochun Alvin Wong
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes