Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
4.8.x, 5.4.0
-
None
-
f568bfce641f52b4641b5d8281c99742f1ae6f40
Description
Easy to reproduce: Create a new window, add a QTreeWidget with a couple of items then in the application code append a disabled item to the widget:
QTreeWidgetItem *disabledItem = new QTreeWidgetItem(QStringList() << "last");
disabledItem->setDisabled(true);
ui->treeWidget->addTopLevelItem(disabledItem);
Now the page-down and end buttons won’t work on the widget, probably because the last item can’t be selected.
It would make more sense if the last enabled item would be selected instead.
Attachments
Issue Links
- relates to
-
QTBUG-34832 Key_Home doesn't go to the first visible index if the first row is hidden, but the first visible one
-
- Closed
-
For Gerrit Dashboard: QTBUG-44746 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
248864,5 | QTreeView: fix keyboard navigation when first or last item is disabled | dev | qt/qtbase | Status: MERGED | +2 | 0 |