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

A full window QWidget does not stay minimized when it should

    XMLWordPrintable

Details

    • Windows

    Description

      A minimal reproducer:

      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
      
          QWidget *main = new QWidget;
          main->setWindowState(Qt::WindowFullScreen);
          main->show();
      
          return a.exec();
      }
      

      Upon launching, the window is shown in full screen, which is expected. Then press Win+D to minimize everything and show desktop. After that, fire up any other window (file explorer, browser, whatever other than Qt window), and the unexpected thing is that Qt window shows itself while it is not told to. It should stay minimized.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes