Community
Participate
Working Groups
- run the ControlExample, Tree tab - listen for MouseDown, MouseUp, Expand and Collapse - expand a tree node in the example Tree by clicking on its '+' -> on gtk (seems correct) you'll get: MouseDown, Expand, MouseUp -> everywhere else you'll get: Expand, MouseDown, MouseUp A similar difference occurs when collapsing expanded tree nodes.
This happens because GTK doesn't expand or collapse the node until the mouse is released. NOTE: It is undefined whether this happens on mouse up or mouse down. However, it's interesting that the expand event comes before mouse down. This happens because the expand event is processed right away by SWT rather than being deferred to the event loop. Need to consider only deferring mouse events for Canvases.
GG to prioritize.
I'm wondering about a way to consume the expand/collapse of a treeitem. Is this possible at all, given the differences between platforms and when the expand/collapse occurs relative to mouse/key events?
The events cannot be consumed currently.
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. 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.
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. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. 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. -- The automated Eclipse Genie.