Community
Participate
Working Groups
I am trying to create my own Tree/TableCursor to work with Tree/TableViewer and there seems to be a minor problem with events. I'm using a MouseDown event to determine the selected cell and a EraseItem event to block and override the default selection drawing. The problem is that it seems that EraseItem fires prior to MouseDown (which I belive is not logical), so I'm forced to do a setSelection in order to force the repaint. What I get is 3 events instead of 2: EraseItem-MouseDown-EraseItem instead of MouseDown-EraseItem. This often results in a minor screen flickering. I wouldn't have reported this as a bug if I haven't noticed that Tree events are not fired in the same way. Actualy, they are fired in what I think to be the correct way (MouseDown than EraseItem). Using almoust the same implementation the screen doesn't flickers on TreeCursor. Would be nice if this could be fixed as I'm quite sure it requires minor modifications.
Not for 3.2. Sorry about that but it's too late to change this now. Ping me early in the 3.3 release cycle.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it and remove the stalebug whiteboard tag. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -