Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-55942

xcb: Widget can receive show event if minimized window becomes hidden

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.6.1, 5.7.0
    • QPA: X11/XCB
    • 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

        Activity

          People

            paeglis Gatis Paeglis
            zaps166 Błażej Szczygieł
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes