TListView: cannot select items (gtk2 2.8.3-4)
Original Reporter info from Mantis: Bart @flyingsheep
-
Reporter name: Bart Broersma
Original Reporter info from Mantis: Bart @flyingsheep
- Reporter name: Bart Broersma
Description:
I cannot select any item from a TListView, neither by mouse nor by keyboard.
It is however possible to select items by code (setting ItemIndex or Selected).
Steps to reproduce:
Build and run attached sample project.
Try and select item 0 from the listbox and press Button1
Expected output:
ListView1.Selected.Caption = Item0
ListView1.ItemIndex = 0
Observed output:
ListView1.ItemIndex = -1
ListView1: nothing selected
Press Button2
Now an item gets selected (at random) and the output is something like
ListView1.ItemIndex = 2
ListView1.Selected.Caption = Item2
However visually I cannot see any feedback that an item is selected in the ListView at all.
Additional information:
This bug seems to be the main culprit for bug #19819 (closed)
Tested only (so far) on Suse 10.0
bart@simenon:~> uname -a
Linux simenon 2.6.13-15-default #1 (closed) Tue Sep 13 14:56:15 UTC 2005 i686 i686 i386 GNU/Linux
bart@simenon:~> rpm -q gtk2
gtk2-2.8.3-4
Mantis conversion info:
- Mantis ID: 19820
- OS: Suse Linux
- OS Build: 10.0
- Build: 31810
- Platform: i386
- Version: 0.9.30.1 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 34355 (#ecf3f41b)
- Monitored by: » @andrewd207 (AndrewH), » 7bit (Bernd Kreuss)
- Target version: 1.0.0
- LazTarget: 1.0