Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.2.4, 6.5.3, 6.6.0
-
None
Description
Considering the following code:
#include <QApplication> #include <QWidget> int main(int argc, char** argv) { auto app = QApplication{argc, argv}; auto win = QWidget{}; win.setAttribute(Qt::WA_ShowWithoutActivating); win.showMaximized(); return app.exec(); }
Expected result: The window should be maximized.
Actual result: The window is not maximized.
Note: If I don't set the Qt::WA_ShowWithoutActivating attribute, the window is properly maximized.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-117962 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
589791,3 | Fix for showing window maximized but not activated | dev | qt/qtbase | Status: NEW | 0 | 0 |