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

xcb: QWidget::showMaximized and other functions cause QWindow::windowStateChanged signal to be fired twice

    XMLWordPrintable

Details

    • Linux/X11
    • 52dcd47850 (qt/qtbase/dev) 52dcd47850 (qt/tqtc-qtbase/dev)

    Description

      I take it the first is the function itself and the second one is triggered from X server, but since the state does not appear to have changed at all, maybe there could just be a check to see if the value differs and only then emit the signal.

      To reproduce, run attached example. It prints out Qt::WindowMaximized twice.

      Attachments

        Issue Links

          Activity

            People

              axelspoerl Axel Spoerl
              poikelin Joni Poikelin
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: