The TAB key doesn't move selection if the selected property has wxTextCtrl editor.
There are also some problems with focus when we transfer focus from wxTextCtrl editor to property label.
This happens only on Linux, on Windows everything is ok.
To reproduce this bug:
1. Run wxPropertyGrid sample app
2. On the first page click on label of first property (Cell Colour)
3. Use TAB key to move selection and try to reach last property on this page - you'll see that the selection will stop on Font property
4. Now click on the caption of next property (Label) - it will be drawn as if it doesn't get focus.
5. Click again on this property - the focus will'be drawn properly
Config:
Ubuntu 8.04, GCC 4.2.3, wxGTK 2.8.9 (Unicode Debug), wxPropertyGrid 1.4.0.RC2
I've checked this on Windows and there are some problems too. On first page the TAB travelsal is blocked on 'Information' property (which is read only), on third page on 'Date Property'.
Config:
Windows XP, VC++ 2008, wxMSW 2.8.9 (Unicode Debug), wxPropertyGrid 1.4.0.RC2
Sorry, Tab traversal is indeed buggy, and would be very difficult to fix. With any luck it may be somehow fixed for wxPropertyGrid in wxWidgets 2.9, but probably not for wxPG 1.4 (as it may require changes in wxWidgets itself).
Thanks,
Jaakko
I mentioned in the initial comment of this topic about focus problem.
It seems that it happens even if we don't use TAB traversal.
To see this, just click the value of property and then click the label of
another property (see points 4 and 5) - the label will not be highlighted.
It occurs only on Linux.