Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317773

Summary: TableRidget - native cell tooltip may be out of date (windows)
Product: [RT] Riena Reporter: Elias Volanakis <elias>
Component: ridgetAssignee: Elias Volanakis <elias>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: christian.campo
Version: unspecified   
Target Milestone: 3.0.0.M2   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Elias Volanakis CLA 2010-06-24 01:55:40 EDT
The SWT Table ridget has two bugs, that cause the native widget to show an out-dated tooltip:

1. When the cell value is changed while the tooltip is showing, the tooltip is not updated (Bug 276697)
2. If a cell shows the tooltip, tooltip hides, cell is updated, tooltip for _same_ cell shows, the tooltip may contain an old value (Bug 104359 ?)

The problem is that the times when the cell text is queried for the cell tooltip is under control of the OS widget. There is no way to trigger an update.

As a workaround the TableRidget manages tooltips for a Table manually (see class TableTooltipManager) overriding the OS behavior.
Comment 1 Elias Volanakis CLA 2010-06-24 01:56:27 EDT
Fixed in HEAD