View Issue Details

IDProjectCategoryView StatusLast Update
0033344LazarusIDEpublic2018-03-08 19:50
ReporterRik van Kekem Assigned ToJuha Manninen  
Status closedResolutionfixed 
Product Version1.9 (SVN) 
Summary0033344: List index out of bounds in Object Inspector
DescriptionThe Object Inspector Component-listview gives a "List index (-1) out of bounds" when pressing a character after tabbing into it.
Steps To ReproduceOpen Lazarus with new project
Click in the "Component (filter)" of the Object inspector
Press Tab to go to the listview
Type any letter and wait one second.

Lazarus comes with a "List index (-1) out of bounds" message.
Additional InformationThe problem lies somewhere in components/ideintf/objectinspector.pp
in FindPropertyBySearchText.
in "if (Rows[i].Lvl = Rows[ItemIndex].Lvl) and" the ItemIndex can be -1.
TagsNo tags attached.
Fixed in Revisionr57474
Attached Files


Juha Manninen

2018-03-08 18:39

developer   ~0107018

Fixed, please test.

Rik van Kekem

2018-03-08 19:50

reporter   ~0107020

Yes, it is fixed, tnx.

I initially thought the Tab after component filter would focus the Component TreeView so you could scroll though it but it seems that was never the case. It tabs right to the property list. But I guess that would be a feature request.

Issue History

Date Modified Username Field Change
2018-03-06 16:11 Rik van Kekem New Issue
2018-03-06 16:31 Bart Broersma LazTarget => -
2018-03-06 16:31 Bart Broersma Status new => confirmed
2018-03-08 18:39 Juha Manninen Assigned To => Juha Manninen
2018-03-08 18:39 Juha Manninen Status confirmed => assigned
2018-03-08 18:39 Juha Manninen Fixed in Revision => r57474
2018-03-08 18:39 Juha Manninen Note Added: 0107018
2018-03-08 18:39 Juha Manninen Status assigned => resolved
2018-03-08 18:39 Juha Manninen Resolution open => fixed
2018-03-08 19:50 Rik van Kekem Note Added: 0107020
2018-03-08 19:50 Rik van Kekem Status resolved => closed