TControlInvalidatePreferredSize loop detected when for is on wsMaximized, but not on wsNormal
Original Reporter info from Mantis: avra @zeljkoavramovic
-
Reporter name: Zeljko Avramovic
Original Reporter info from Mantis: avra @zeljkoavramovic
- Reporter name: Zeljko Avramovic
Description:
Minimalistic example attached, with screenshots of project form with bad wsMaximized and good wsNormal behavior.
Steps to reproduce:
Load project from the archive and open it's form. You get "TControlInvalidatePreferredSize loop detected" message dialog and the only sain choice is to abort and exit IDE. Edit LFM file in some editor and replace 'WindowState = wsMaximized' with 'WindowState = wsNormal' and form will be able to load without any problems.
Additional information:
Everything tested on WinXP SP3 with 32-bit Laz 1.8.1 and FPC 3.0.5 (official with fixes), and on Laz trunk and FPC trunk 54956M built on 20th December 2017. Using AnchorDocking in IDE.
Mantis conversion info:
- Mantis ID: 32951
- OS: Windows XP
- OS Build: SP3
- Build: 1.8.1
- Platform: Win32
- Version: 1.8