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

ListView with asynchronous Loader delegate crashes when changing indexes

    XMLWordPrintable

Details

    Description

      Crashes when switching a ListView currentIndex many times for a Loader delegate with asynchronous=true.
      Quick fix seems to be setting active=false in Component.onDestruction of Loader.
      May have something to do with async load coming back for item which no longer exists.

      Attached test project.
      Can simulate either using qmltestrunner, or qmlscene and clicking the view.

      Attachments

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

        Activity

          People

            aalpert Alan Alpert
            dednick Nick Dedekind
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes