Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.1, 6.5.2
-
None
-
-
7efc0f6f1 (dev), 8f07015af (6.6), 953c5e5d0 (6.5), b0ba5c78e (dev)
Description
Changing the minimum size get the window out of maximized state.
Regression since Qt 6.5. No such problem with Qt 6.4.3 and below.
Sample code:
import QtQuick import QtQuick.Window import QtQuick.Controls Window { id: wnd width: 640 height: 480 visible: true visibility: Window.Maximized Button { anchors.centerIn: parent text: 'Push me!' onClicked: wnd.minimumWidth += 10 // this breaks maximized window state } }
Steps to reproduce:
1. Run sample
2. Push the button
3. Check window state (at window title bar)
Attachments
For Gerrit Dashboard: QTBUG-115699 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
493841,7 | QWindowsWindow::setGeometry: bail out early if geometry is the same | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
502790,3 | QWindow: avoid extra window resize on changing min/max sizes | dev | qt/qtbase | Status: MERGED | +2 | 0 |
502791,5 | QWindow: bail out early on resize() if size has not changed | dev | qt/qtbase | Status: MERGED | +2 | 0 |
503299,2 | QWindow: avoid extra window resize on changing min/max sizes | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
503471,2 | QWindow: avoid extra window resize on changing min/max sizes | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |