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

WASM - Tumbler does not work good/at all

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.2.0
    • Fix Version/s: 6.2.3, 6.3.0 Alpha
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Environment:
      Windows 10 20H2

      emsdk 2.0.14

      chrome Version 94.0.4606.71 (Offizieller Build) (64-Bit)
    • Platform/s:
      WebAssembly
    • Commits:
      820a6d4117fc59b960e273e5f10d65b89217ce61 (qt/qtbase/dev) d6fc6a06f01a85897c0eae91f3331b68311b4a5f (qt/qtbase/6.2)

      Description

      Dragging tumblers with the mouse does not work as expected for WebAssembly Apps.

      With fewer items I got lucky and could spin it sometimes, but I still had to be lucky.

       

      Left WebAssembly, right Windows:

      Example code:

      import QtQuick 2.12
      import QtQuick.Window 2.12
      import QtQuick.Controls 2.12
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Tumbler example")
      
          Row{
              anchors.centerIn: parent
              Tumbler{
                  model: 24
              }
              Tumbler{
                  model: 60
              }
          }
      }
      

        Attachments

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

          Activity

            People

            Assignee:
            lpotter Lorn Potter
            Reporter:
            Marscho Marscho
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes