Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.15.3
-
None
-
5
-
8278879c199ecc9b17a1fd603ecb4a31f5fd6c68 (qt/qtbase/dev)
-
Qt6_Foundation_Sprint 33
Description
See reproducer in https://codereview.qt-project.org/c/qt/qtbase/+/346525
Having a QStandardItemModel and a QItemSelectionModel on top of it, removal of a row with selected entries does not always trigger a selectionChanged signal in the QItemSelectionModel.
The QItemSelectionModel subscribes to the rowsAboutToBeRemoved signal. On row removal, the signal is triggered. The signal handler is called. However, the signal handler QItemSelectionModelPrivate::_q_rowsAboutToBeRemoved decides that the selection was not changed.
Attachments
For Gerrit Dashboard: QTBUG-93305 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
346592,8 | Fix QItemSelectionModel::selectionChanged emission | dev | qt/qtbase | Status: MERGED | +2 | 0 |