Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.5.1
-
None
Description
Create a widget and first maximize it and after that minimize it.
If you then check the state of the widget it will report to be both minimized and maximized at the same time.
Example Application:
#include <QtGui> class MyWidget : public QWidget { public: MyWidget( QWidget * parent = 0 ) : QWidget(parent) { //setWindowFlags(Qt::WindowMinMaxButtonsHint); showMaximized(); showMinimized(); qDebug() << "IsMaximized" << isMaximized(); qDebug() << "IsMinimized" << isMinimized(); } }; int main(int argc, char *argv[]) { QApplication app(argc, argv); MyWidget widget; widget.show(); return app.exec(); }