Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.9.1
-
None
-
-
7d19da385 (dev), b1843043a (6.10)
Description
CMakeLists.txtit seems that since qt>=6.9 the following table is misrendered (that's a minimal reproducer from a larger application):
#include <QApplication> #include <QMainWindow> #include <QTableView> #include <QStandardItemModel> #include <QHeaderView>int main(int argc, char *argv[]) { QApplication app(argc, argv); QMainWindow window; QTableView * table = new QTableView; QStandardItemModel * tableModel = new QStandardItemModel(8, 1); table->setModel(tableModel); for (int i = 0; i < 8; ++i) tableModel->setItem(i, 0, new QStandardItem("item")); table->horizontalHeader()->setSectionResizeMode(QHeaderView::Fixed); table->resizeColumnsToContents(); window.setCentralWidget(table); window.resize(1024, 768); window.show(); return app.exec(); }
if I hover the mouse over the table items appear/disappear eventough the text should appear always:
when I move the cursor out of the window all text disappear except the first line
here on archlinux/qt6.9.1/kde but also saw this briefly on windows, and I dont remember seeing this in 6.8.x
possibly related: https://bugreports.qt.io/browse/QTBUG-136453 (should be fixed in 6.9.1 though)