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

Clicking on checkbox of a parent with children set state to Qt::PartiallyChecked instead of Qt::Checked

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.5.0
    • 5.4.0
    • Widgets: Itemviews
    • None
    • Windows, Mac, likely platform independent.
    • 4910f416c2c0d1ec4, dd23d9f161deda1e72c1f

    Description

      I attached a simple project that shows the issue:
      There is a QTreeWidget with one top level item that has 10 children.
      I do not set Qt::ItemIsTristate for the children, but with Qt5 when I click on the root item state of check box of the root item and its children changed to Qt::PartiallyChecked instead of Qt::Checked that is wrong.

      P.S.: It works correctly with Qt-4

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            srazi S. Razi Alavizadeh
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes