GTK2, very slow hint for very long line
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
If the IDE (without html hint / without TurboPowerPro[Dsgn]) has to display a hint, that consist of one single very long line (such as returned by GDB for a large class) then gtk2 may take several seconds to display this hint (presumingly wordwrapping?)
In order to reproduce:
- create a new application
TForm1 = class)TForm)
- go to declaration of TForm, and enter on the line immediately before "TForm = Class(TCustomForm)", a single line comment of 10.000 chars
- No go back to unit1, and have a hint for TForm (not TForm1)
The required length of the line, and the time experience seem to differ from system to system.
On the same CPU running GTK2 on w32 => it is all very fast.
Running GTK2 in Fedora => 10000 chars might take forever.
This also caused the report #20190 (closed) (see notes)
Mantis conversion info:
- Mantis ID: 20196
- Version: 0.9.31 (SVN)
- Target version: 1.4