Summary: | [Viewers] Tool tips requested for items with unset data in virtual table | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Eleanor Joslin <ejj-eclipsebugs> |
Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | emoffatt |
Version: | 4.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
Eleanor Joslin
2009-11-12 10:06:18 EST
Moving to Platform UI. A simple null check should fix this for good. If the item is visible then the setData event would have been called already. This should not happen under normal circumstances. But a strange *speculation* occurred to me, I am not sure about the various SWT details though. Consider the following running in a single runnable 1)Mouse has been still for a while .. 2)showItem/scroll/expand(programatically) [the setData events queued] 3)mouse hover event[ queued] [Is this possible given that the items are changing, the event occurring for Table/Tree though ?] 4)showItem/scroll/expand(programatically) again to new items [the *new* setData events queued] The runnable finishes. Mouse hover event processed before the *new* setData events from event queue. And, at the time of hover, mouse may be over the uninitialized items. Or if showItem/scroll/expand was called from with another MouseTrackListener This could be be a matter of order in which listeners are maintained internally. I hope its not the case here. Calling API such setText,getText,etc initializes the item, not getData. Eric, any thougths on the above ? 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. |