Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.0 RC
-
None
-
Linux/X11
-
11836be1274196bca5883973b3c8f31dc07c34f7
Description
Example code:
#include <QApplication> #include <QGridLayout> #include <QLineEdit> #include <QWidget> int main(int argc, char *argv[]) { QApplication app(argc, argv); QWidget w; w.setLayout(new QGridLayout); w.layout()->addWidget(new QLineEdit); w.resize(500, 0); w.show(); return app.exec(); }
Actual result: window is not visible
Expected result: window is visible (layout will change the window height, so it must be visible)
Regression resulted from QTBUG-49445