Bug 211865 - Tooltip always prompt up in the wrong place
Summary: Tooltip always prompt up in the wrong place
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 3.4 M5   Edit
Assignee: Kevin Barnes CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-12-04 06:32 EST by Sky Yan CLA
Modified: 2009-06-04 15:14 EDT (History)
6 users (show)

See Also:


Attachments
patch for tooltip position issue (712 bytes, patch)
2007-12-04 06:32 EST, Sky Yan CLA
Silenio_Quarti: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sky Yan CLA 2007-12-04 06:32:27 EST
Created attachment 84405 [details]
patch for tooltip position issue

When I tried tooltip tab in control examples, the tooltip always prompt in the wrong place. I checked the code and found that the mouse position has not renewed when the tooltip shell prompting up. 

I make a patch for this problem.
Comment 1 Kevin Barnes CLA 2008-01-16 17:23:13 EST
Can you attach a screen shot of the tooltip in the wrong place? It works for me.
Also, not that we're using the emulated ToolTip on Cocoa right now so this bug would not be specific to Cocoa, but would also appear on WPF and motif.
Comment 2 Kevin Barnes CLA 2008-01-16 17:26:22 EST
Nevermind about the screen shot... I see the bug.
I'm still not sure about the patch though. The emulated ToolTip works on WPF so there's probably something else going on.
Comment 3 Kevin Barnes CLA 2008-01-16 18:07:11 EST
OK, I'm wrong, you're right. This is a bug in the emulated control. 
Fixed in HEAD > 20080116
Comment 4 Sky Yan CLA 2008-01-16 21:16:12 EST
 I am very glad to see my patch has been merged in the HEAD. That's great!
Comment 5 Carolyn MacLeod CLA 2008-01-24 11:35:54 EST
Thank-you for your contribution!
http://www.eclipse.org/swt/contributors.txt