Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4.0, 6.5.0, 6.6
-
None
-
-
42128ec10 (dev), faa16f36f (6.5), be82e8bbc (6.5.1), 8191be512 (dev), 953c61713 (6.5), b4e7e6cfa (6.6)
Description
Adjusting either minimum or maximum size resizes the underlying window immediately, this hits an assert if the new minimum size is bigger than the current maximum size or if the new maximum size is smaller than the current minimum size.
While in specific instances with known values, setting of minimum and maximum widths and heights can be ordered to be correct, this is cumbersome and harder in code where the sizes are not known beforehand.
The attached example hits the assert for either order of the setMinimumSize/setMaximumSize calls.
I attached the backtrace of the assert, too.
Attachments
Issue Links
- relates to
-
QTBUG-103391 crash on start: The Wayland connection experienced a fatal error: Protocol error
-
- Closed
-
-
QTBUG-102626 Crash with invalid min/max sizes
-
- Closed
-