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

QItemSelectionModel::colIntersectsSelection does not behave as documented

XMLWordPrintable

    • 0edd2e39ad7f959c3d0c56e79abd3c60d9950538 (qt/qtbase/5.14)

      According to https://doc.qt.io/qt-5/qitemselectionmodel.html#columnIntersectsSelection, the function "Returns true if there are any items selected in the column with the given parent.". However the actual implementation https://code.woboq.org/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp.html

      does not test whether the items have the specified parent.

      QTBUG-22370 covers the exact same bug except with rowIntersectsSelection, and that bug was fixed for 5.0 in c1df856d6b7. However there has been no equivalent fix to columnIntersectsSelection.

       

        For Gerrit Dashboard: QTBUG-80644
        # Subject Branch Project Status CR V

            chehrlic Christian Ehrlicher
            aclight Adam Light
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes