Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12, 5.15
-
None
-
0edd2e39ad7f959c3d0c56e79abd3c60d9950538 (qt/qtbase/5.14)
Description
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.