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

Maximizing a frameless window using shortcut under Windows makes the window fullscreen

    XMLWordPrintable

Details

    • Windows

    Description

      Maximizing a frameless window using shortcut (Winkey+ArrowUp) makes the window fullscreen
      Expecting result: windows taskbar is visible

      Code:

      #include <QApplication>
      #include <QWidget>
      
      int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);
          QWidget w(0, Qt::Window | Qt::WindowMinMaxButtonsHint | Qt::FramelessWindowHint );
          w.showNormal();
          return app.exec();
      }
      

      After building, use Winkey+ArrowUp to maximize the window, and see the result.

      Some other information:

      Let me know if you need any additional information.

      Attachments

        1. qtbug91226_diag.diff
          2 kB
        2. qtbug91226_log.txt
          8 kB
        3. qtbug91226.zip
          2 kB

        Issue Links

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

          Activity

            People

              owolff Oliver Wolff
              blumia Gary Wang
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes