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

Checkboxes in delegate are randomly checked/unchecked

    XMLWordPrintable

Details

    Description

      The check state of the checkboxes in a treeview change randomly when there are interactions, for example by repeatedly clicking the nodes, or when you resize the window and make it smaller and try to scroll it vertically.

      Steps to reproduce:
      1) build and run the attached example with Qt 6.5.1
      2) expand the nodes and start clicking repeatedly on one of the nodes, you can see that checkboxes in delegate are randomly checked/unchecked

      However, if line 88 in the Main.qml file is commented out, it will alleviate the issue, the checkboxes initially maintain their checked or unchecked state and do not change randomly unless the check states are manually manipulated, after that the issue appears again when repeatedly clicking the nodes.

      Attachments

        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
            chakib Chakib Boutaghane
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes