View Issue Details

IDProjectCategoryView StatusLast Update
0022811LazarusLCLpublic2014-04-12 13:14
ReporterKrzysztof Dibowski Assigned ToZeljan Rikalo  
Status resolvedResolutionfixed 
Product Version1.0.0 
Summary0022811: ListView - can't set image index if previous was empty

I have problem with changing item image index at runtime. If item had some image index at creation time, then everything works fine. But if image index is by default -1, then I sometimes can't set image index. I attached demo. To reproduce problem:
1. Run program
2. Item in first column doesn't have image
3. Button click and double click on listview call this same event which set some image index. But clicking on button doesn't work and double click on list view work only on second time (or on first time if button was clicked first)

If you set some icon to first column (on design time) then everythin works fine. Something is wrong with refreshing

Additional InformationUbuntu 12.04 64bit, GTK2
Lazarus 1.1 (revision 38083 CodeTyphon 2.80), but also tested on Lazarus 1.0 and from SVN revision too
FPC 2.7.1 from SVN
TagsNo tags attached.
Fixed in Revision44698
WidgetsetGTK 2
Attached Files


2012-09-06 12:35 (3,005 bytes)

Zeljan Rikalo

2014-04-12 13:14

developer   ~0074350

Please test and close if ok.

Issue History

Date Modified Username Field Change
2012-09-06 12:35 Krzysztof Dibowski New Issue
2012-09-06 12:35 Krzysztof Dibowski File Added:
2012-09-06 12:35 Krzysztof Dibowski Widgetset => GTK 2
2012-09-06 12:36 Zeljan Rikalo Status new => assigned
2012-09-06 12:36 Zeljan Rikalo Assigned To => Zeljan Rikalo
2014-04-12 13:14 Zeljan Rikalo Fixed in Revision => 44698
2014-04-12 13:14 Zeljan Rikalo LazTarget => -
2014-04-12 13:14 Zeljan Rikalo Note Added: 0074350
2014-04-12 13:14 Zeljan Rikalo Status assigned => resolved
2014-04-12 13:14 Zeljan Rikalo Resolution open => fixed