-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7.0
-
-
61b71ffb3 (dev), 917a0bf26 (6.7)
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();
- resulted from
-
QTBUG-113513 Modernized look for comboboxes on Windows 11
-
- Closed
-