Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.0
-
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
For Gerrit Dashboard: QTBUG-30142 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
57221,1 | Fix QPlatformWindow::initialGeometry() to not touch large window. | stable | qt/qtbase | Status: ABANDONED | +2 | 0 |
57276,1 | Fix QPlatformWindow::initialGeometry() to not touch large windows. | release | qt/qtbase | Status: MERGED | +2 | 0 |