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

ListView.onAdd or onRemove animations fail workerscript sync commands while the list is scrolling

XMLWordPrintable

    • cb31612bf6a48f995fbc05b5e8aa924e13034ae4

      1. Run the attached QML file (with the js)
      2. Click the "Click here" button. It launches a workerscript to remove all items in the listModel and re-add them all back. Animations are enabled on the removes and adds.
      3. Verify that the animations do work now.
      4. flick the list around and while the list is scrolling click the "click here" button

      BUG:
      Black screen appears, you won't be able to see the list anymore. There's no way to get all the items back no matter how many times you click the "click here" button. Sometimes you can get the first item back but that's it.

        1. background.js
          0.3 kB
        2. ListSync.qml
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            martjone Martin Jones (closed Nokia identity) (Inactive)
            frankli Frank Li
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes