[Regression] IDE extremely slow when adding a new control to a heavily populated form
Original Reporter info from Mantis: wp @wpam
-
Reporter name:
Original Reporter info from Mantis: wp @wpam
- Reporter name:
Description:
This is a follow-up to issue #37595 (closed) where I reported slow response of the menu editor in trunk versions beginning with r62635.
Working on a project in which the main form contains a large number of controls I noticed that the issue is more general. When a new control is added to this form in the designer from the palette the border of the new control is drawn and the IDE remains unresponsive for some time. This time increases with the number of controls already on the form. When some cirtical control count is reached usefull working with this IDE becomes impossible.
This behaviour was introduced in r62635, reverting back to r62634 the new control added appears completely immediately, and there is only a very short delay.
Steps to reproduce:
Try the demo program ImgViewer which comes with Lazarus (folder (lazarus)\examples\imgviewer). Load it into trunk (after r.62635) and add a TButton from the palette - I counted the time: about 40 seconds until the IDE was responsive again. And this is for a form which is not too heavily populated.
Additional information:
I have several trunk versions on my system (32 bit vs. 64 bit, FPC 3.2.0 vs 3.04.) - they all behave in the same way; therefore, I'd exclude the possibility that my trunk version is damaged in some way.
I tested only on Windows (WIn 10).