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

The Switch component uses in a ListView does not show correct cecked value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.0
    • 5.2.0
    • Quick: Controls 1
    • None
    • Windows 7 32 Bit
    • 5c8e205c5f4f4a0d131cb1f2511ca0b91923c0f2

    Description

      When a Switch component is uses in a delegate of a Listview, and the delegate is loaded asynchronous, the checked state is not shown correctly.

      See the attached example, and scroll the list up/down. The Switches should always all be on, not off.

      The error printed is:
      ... Controls/Switch.qml:133: TypeError: Type error

      Attachments

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

        Activity

          People

            bachewii Jens
            schwann Guenter Schwann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes