Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.6.1, 5.7.0
-
None
-
Linux/X11
-
2cf3dee10be1d2163eff0893f51f9ece643c2540
Description
Widget can receive show event if minimized window becomes hidden. This happens only on some WMs like Marco and Xfwm4.
XCB plugin changes window state from "Qt::WindowMinimized" to "Qt::WindowNoState" after hiding a window, which calls "QWidget::showEvent()".
Steps to reproduce:
1. Use Marco or Xfwm4.
2. Show widget and make it minimized.
3. Call "hide()" on this widget (e.g. in timer).
4. The widgets hides and it will receive show event.
Attachments
For Gerrit Dashboard: QTBUG-55942 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
170788,2 | xcb: Don't send "Qt::WindowNoState" event when hiding minimized window | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |