Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.5.1
-
None
Description
Step to reproduce:
Run the program and select a small item in the first column, then press shift and click on a row on the 2nd column. The selection will contains item that should not be selected
int main(int argc, char **argv) { QApplication app(argc, argv); QStringList numbers; numbers << "123456" << "123" << "1234" << "123" << "12" << "123" << "1234" << "12345" << "123" << "1234567" << "12" << "12" << "12" << "12" << "12"; QAbstractItemModel *model = new QStringListModel(numbers); QListView *view = new QListView; view->setSelectionMode(QAbstractItemView::ExtendedSelection); view->setViewMode(QListView::IconMode); view->setFlow(QListView::TopToBottom); view->setModel(model); view->show(); return app.exec(); }