Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.3, 6.9.0
Description
When using QAbstractItemView::setIndexWidget() with the windowsvista or Fusion styles, the underlying content remains visible. However, with the Windows11 style, the underlying content is not visible when an index widget is used.
To reproduce the issue, run the attached example project:
int main(int argc, char **argv) { QApplication a(argc, argv); QStringListModel model; model.setStringList({"test"}); QListView view; view.setModel(&model); view.setWindowTitle("style: " + a.style()->name()); view.setIndexWidget(model.index(0, 0), new QWidget); view.show(); return a.exec(); }
Attachments
Issue Links
- resulted from
-
QTBUG-119501 Numbers colliding and not highlighted in Charts with Widgets Gallery example
-
- Closed
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-136217 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
642087,2 | Windows11Style: draw item text unconditionally | dev | qt/qtbase | Status: NEW | 0 | 0 |