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

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

XMLWordPrintable

    • Windows

      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.

        1. qtbug91226.zip
          2 kB
          Friedemann Kleint
        2. qtbug91226_diag.diff
          2 kB
          Friedemann Kleint
        3. qtbug91226_log.txt
          8 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes