IDE becomes non-responsive when adding controls to heavily populated form.
Original Reporter info from Mantis: wp @wpam
-
Reporter name:
Original Reporter info from Mantis: wp @wpam
- Reporter name:
Description:
I am modernizing the statistics program LazStats and found that the IDE stops to respond when I add new controls to the main form of the application. It is special in this form that the main menu has > 100 items.
Steps to reproduce:
Load the attached demo into Lazarus; it is the LazStats mainform with all controls removed except for the main menu and its items.
Add a button or yet another menu item to the form --> the IDE hangs and must be killed from the OS.
This happens on Windows with Laz trunk / FPC 3.2.0 and 3.0.4, 32 bit and 64 bit. No problem with Laz 2.0.10/Win. No problem also with Manjaro Linux (trunk r63726).
I tried to find the guilty revision and detected that the bug was introduced in r62635, r62634 is still correct. The commit message of r62635 is "Packager: Support extra unit/package dependencies when dropping a component on a form. Issue #36654 (closed), patch from Sven Barth.", comitted by Juha.
Mantis conversion info:
- Mantis ID: 37593
- Version: 2.1 (SVN)
- Fixed in revision: r63791 (#bede7c1c), r63792 (#8beee599)
- Monitored by: » BrunoK (BrunoK), » @PascalDragon (Sven Barth)