Community
Participate
Working Groups
Build ID: I20090428-0100 Steps To Reproduce: 1. Launch snippet80 on GTK 2. We are not able to move the treeitem through keyboard - either through arrow keys or through the first alphabet character. The problem is that code in the SelectionListener eats away the selection/navigation. More information: In Other platforms, I am able to move the tree item normally.
Praveen, this seems like a good one to look at.
In GTK, when the elements are unselected, then cursor-focus remains on the last focused element. At this moment, if the elements are tried to navigate (through Up/Down arrow keys), then GTK considers the newly selected element as the same element instead of next/previous element in the tree. In snippet80, initially 'Item0' has cursor-focus. An attempt to navigate down (through arrow key) to 'Item1' is not permitted because getSelection() in SelectionListener returns 'Item0'. Thus, the revised selection is empty and thus, elements are unselected again. This appears to be the native behaviour of GTK that navigation stays on the same element when it has cursor-focus.
This is still reproducible.
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.