https://bugs.winehq.org/show_bug.cgi?id=53511
Bug ID: 53511 Summary: Basic Windows (Size) Constraints do not work during resize. Product: Wine Version: 6.0.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dev@sartrack.nz Distribution: ---
I am the developer of the SARTrack software (for Windows) for Search and Rescue.
My Windows-XP compatible program which has multiple 'Forms' (Windows) which can be opened, and is written in the latest Delphi Pascal compiler.
When running under Wine on a laptop PC with a *ScaleFactor of 2* (two):
- Randomly, the reported 'Constraints.MinWidth' and Constraints.MinHeight are not scaled (so, set to its original ScaleFactor of '1'. Result: Window starts to small. Other identical windows in the program *do* have the right ScaleFactor for the 'Constraints' values. (Timing issue during Create?)
- During resizing of any window, Constraints do not work. Can resize smaller until nothing left of the window.
- When Width or Height are smaller than the Constraints.MinWidth and Constraints.MinHeight, the 'OnResize' is no longer called. This means it does detect that it has reached the limits, but still the window is resized past these limits.
Bart, New Zealand