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

QtQuick problem with synthesized mouse events from stylus events

    XMLWordPrintable

Details

    • WebAssembly

    Description

      Running the qtdoc/examples/demos/dice example. There are two problems when running on chrome/webassembly.

      What is strange, and possibly a bug in chrome, is that the mouse events are reported as stylus events.

      Problem 1) Click/release on the round menu button does not work
      (click/wait/release does work)

        The problem here might be that setPressed(false) is called twice, the first time from QQuickItem::forceActiveFocus() as the release of the stylus is detected
      (menubutton.log is  attached)

      Problem 2)
        If rotating the view, it is not possible to drop the dices on left mouse click

      MousePress ->
       ApplicationWindow ->
         QQuickOverlay
         QQuickMouseArea
         QQuick3DViewport

      MouseRelease ->
        ApplicationWindow ->
          QQuickWindow

      (Attached press-release.log)
      menubutton.log

      Attachments

        1. menubutton.log
          4.61 MB
          Even Oscar Andersen
        2. press-release.log
          893 kB
          Even Oscar Andersen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            evenandersen Even Oscar Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes