diff --git a/src/qtwidgets/views/FloatingWindow_qtwidgets.cpp b/src/qtwidgets/views/FloatingWindow_qtwidgets.cpp index 57574762..53faa405 100644 --- a/src/qtwidgets/views/FloatingWindow_qtwidgets.cpp +++ b/src/qtwidgets/views/FloatingWindow_qtwidgets.cpp @@ -149,6 +149,7 @@ bool FloatingWindow_qtwidgets::eventFilter(QObject *, QEvent *ev) // QWidget::windowState() is not reliable as it's emitted both for the spontaneous (async) event and non-spontaneous (sync) // The sync one being useless, as the window manager can still have the old state. // Only emit windowStateChanged once the window manager tells us the state has actually changed + // See also QTBUG-102430 if (ev->spontaneous()) Q_EMIT d->m_controller->windowStateChanged(); }