| Summary: | [Widgets] Tooltip for tool item in inactive shell not updated when mouse moved to other item | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Markus Keller <markus.kell.r> | ||||||
| Component: | SWT | Assignee: | Scott Kovatch <skovatch> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Silenio Quarti <Silenio_Quarti> | ||||||
| Severity: | minor | ||||||||
| Priority: | P3 | CC: | skovatch | ||||||
| Version: | 3.5.2 | Flags: | Silenio_Quarti:
review+
|
||||||
| Target Milestone: | 3.6.1 | ||||||||
| Hardware: | Macintosh | ||||||||
| OS: | Mac OS X | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Markus Keller
When a window is in active our tooltip tracking is using the wrong coordinates to search the toolbar for a ToolItem. Created attachment 169870 [details]
Fix
Not for 3.6 at this point.
If the hit view is in a different window than the event window we need to convert the point to the hit window's coordinate system.
Silenio, please review for 3.6.1. Fix is good. Just move the new code inside of the "if (control != null)" statement. "eventPoint" is only needed inside that block. To keep comments consistent with parts of the SWT source code, we should avoid using personal pronouns in comments (we, I, etc). Created attachment 173577 [details]
final patch
Final patch, based on 3.6 branch.
Fixed > 20100706 in 3.6 branch and HEAD |