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
-