The program will freeze when you want to select multiple icons
Title: Re: ListView bug
Post by: wp on January 17, 2017, 10:54:42 am
Using gtk2 in Linux Mint 18, Laz trunk, fpc 3.0 I cannot confirm this.
Title: Re: ListView bug
Post by: Thaddy on January 17, 2017, 11:07:06 am
I can not confirm this with GTK2 on Raspbian armhf FPC 3.1.1/Laz 1.7
Title: Re: ListView bug
Post by: benohb on January 19, 2017, 10:27:19 am
wp
Thaddy
Thank you for test But Try click on any button or write something in (edit1) . After selecting icons in ListView1 Please check :'(
Title: Re: ListView bug
Post by: Thaddy on January 19, 2017, 11:01:58 am
I can replicate this now, indeed, The first time I select a few icons and change focus to button or edit everything worked. Change focus to listview a second time, select again, everything freezes. Also note the listview does not keep (visual?) state between focus changes in GTK2. I don't know if that is intentional.
Title: Re: ListView bug
Post by: benohb on January 23, 2017, 08:55:06 am
Thaddy. Yes, this is the problem (focus) Thanks For verification
Title: Re: ListView bug
Post by: richardcgiroux on November 07, 2017, 10:43:46 pm
I found a work-around:
procedure TForm1.ListView1Click(Sender: TObject); begin ListView1.Enabled:=False; ListView1.Enabled:=True; end;