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

Windows: Wrong initial position if i.e. heigth > screen's height

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.1.0
    • 5.1.0
    • GUI: Window management
    • None
    • a410273fabb294b46b04f7ccee38bab668413061, Fixup 81e981a704116ca7b1b619a2c1e8db837046d2cf

    Description

      If a widget initial height is larger than the screen height, the title bar is drawn outside the screen.

      #include "mainwindow.h"
      #include <QApplication>
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QMainWindow w;
          w.resize(200, 1000);
          w.show();
          return a.exec();
      }
      

      or

      import QtQuick 2.0
      Rectangle {
          width: 360
          height: 1000
          MouseArea {
              anchors.fill: parent
              onClicked: {
                  Qt.quit();
              }
          }
      }
      

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            carochao Caroline Chao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes