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

QTreeWidgetItem check box does not get updated always.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 4.8.4, 5.1.0 , 5.11.0
    • Widgets: Itemviews
    • None
    • Windows, Linux, all styles

    Description

      In a certain way of operation, check box of QTreeWiedgetItem does not get updated. Attached example reproduces this:

      In the attached example, some check-able tree widget items are added into the tree widget. The check state will become abnormal after the following steps:
      1. Launch application.
      2. Un-check item "Level 3-1"
      3. And then check item "Level 1". (Do not move mouse)

      The resulting check state of "Level 2-1" is still unchecked though it should be checked. It will be updated as checked after mouse is over or window is re-sized.

      Edited: There is another related issue happens with the same steps. After step 3, only one signal "itemChanged" is sent for the item "Level 3-1". (no the same signal sent for the items "Level 2-1" and "Level 1").

      Attachments

        Issue Links

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

          Activity

            People

              dfaure_kdab David Faure
              qtcomsupport Qt Support
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes