Community
Participate
Working Groups
- also happens on motif - run the ControlExample, Table tab - turn on the KeyDown and Selection listeners - select an item in the example Table, then press Enter -> on win32 and motif the following are fired: DefaultSelection, KeyDown -> everywhere else it's: KeyDown, DefaultSelection
SN to fix. This is happening because the table issues LVN_ITEMACTIVATE from WM_KEYDOWN when a CR is pressed. In SWT, CR comes through WM_CHAR which comes after WM_KEYDOWN. We could consider fixing SWT to issue the key down event for CR from WM_KEYDOWN, depending on how difficult this would be. Note that this is probably also broken for the List and possibly the Tree.
Fixed > 20041122 This was only broken in Table.