Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7.0
-
-
61b71ffb3 (dev), 917a0bf26 (6.7)
Description
Resulted from "Introduce Windows 11 styled ComboBox in QWindows11Style" 9da8d67b3bca1d40ae221a9c6be218fe57759724 https://codereview.qt-project.org/c/qt/qtbase/+/481184 where it now always destroys the view if style changes:
void QComboBox::changeEvent(QEvent *e) { Q_D(QComboBox); switch (e->type()) { case QEvent::StyleChange: if (d->container) { // If on Windows, force recreation of ComboBox container, since // windows11 style depends on WA_TranslucentBackground #ifdef Q_OS_WIN auto delegate = itemDelegate(); d->container->deleteLater();
Attachments
Issue Links
- resulted from
-
QTBUG-113513 Modernized look for comboboxes on Windows 11
- Closed