Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0, 5.0.2, 5.1.0
-
None
-
Windows 7, CentOS
-
35ebdeb83eb4057f5e50042747b13d0772051459
Description
If you call setFirstColumnSpanned() on a row, but the left edge of the row is to the right of the first column, you cannot click on the row's expand/collapse icon. QTreeViewPrivate::itemDecorationAt() returns -1 in that case, because QHeaderView::logicalIndexAt() returns a non-zero column. It seems to me that itemDecorationAt() should take spanning into account.
Attachments
Issue Links
- duplicates
-
QTBUG-41793 QTreeWidget branch icon focus lost when using QHeaderView::ResizeToContents and setFirstColumnSpanned()
- Closed