Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.0
-
-
44edab7c8 (dev), 37effa5dd (6.9), 94fe6f04f (6.8), c917d16f4 (dev), 1ac5e9807 (6.9)
Description
The QTreeWidget is rendering poorly when the frame style is set to QFrame::Plain | QFrame::Box while using the Windows 11 style.
To reproduce the issue, run the attached project and click on "QTreeWidget Bugs" button.
A detailed description is in the dialog itself.
Here also some reproducer for QTableView showing grid lines before:
int main(int argc, char* argv[]) { QApplication app(argc, argv); QTableWidget tw; tw.setColumnCount(5); tw.setRowCount(5); tw.setItem(0, 0, new QTableWidgetItem(app.style()->name())); tw.show(); tw.setShowGrid(false); return app.exec(); }
Result after the current patches:
Attachments
Issue Links
- is duplicated by
-
QTBUG-133391 QTableView shows partial grid when showGrid = false
-
- Closed
-
-
QTBUG-133853 tableViewP->setShowGrid(false) still shows vertical lines
-
- Closed
-
- relates to
-
QTBUG-132187 QDrawUtil: qDrawPlainRoundedRect does not work well for high-dpi screens
-
- Closed
-
For Gerrit Dashboard: QTBUG-131585 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
608778,12 | Windows11Style: Misc cleanup for drawControl(CE_ItemViewItem) | dev | qt/qtbase | Status: MERGED | +2 | 0 |
608779,14 | Widgets: add enum values to QStyleOptionViewItem::ViewItemFeature | dev | qt/qtbase | Status: MERGED | +2 | 0 |
611706,3 | Windows11Style: fix drawing rounded corners in rtl itemviews | dev | qt/qtbase | Status: ABANDONED | +1 | 0 |
611707,1 | Windows11Style: don't draw outside itemview rect | dev | qt/qtbase | Status: ABANDONED | +1 | 0 |
615490,2 | Windows11Style: Misc cleanup for drawControl(CE_ItemViewItem) | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
615529,2 | Windows11Style: Misc cleanup for drawControl(CE_ItemViewItem) | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
618425,2 | Widgets: add enum values to QStyleOptionViewItem::ViewItemFeature | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |