Bug 337269 - ToolTip still visible after calling dispose
Summary: ToolTip still visible after calling dispose
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Target Milestone: 3.8 M4   Edit
Assignee: Arun Thondapu CLA
QA Contact: Bogdan Gheorghe CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 175655
  Show dependency tree
 
Reported: 2011-02-15 20:05 EST by Steffen Pingel CLA
Modified: 2011-12-09 11:07 EST (History)
3 users (show)

See Also:


Attachments
ToolTipTest.java (985 bytes, text/plain)
2011-02-15 20:06 EST, Steffen Pingel CLA
no flags Details
mylyn/context/zip (826 bytes, application/octet-stream)
2011-02-15 20:06 EST, Steffen Pingel CLA
no flags Details
Proposed patch (890 bytes, patch)
2011-03-02 09:55 EST, Arun Thondapu CLA
no flags Details | Diff
Revised patch (1.09 KB, patch)
2011-03-21 08:15 EDT, Arun Thondapu CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2011-02-15 20:05:53 EST
If I create a tooltip on Gtk and then dispose it it is still visible if I hover anywhere over the Shell. I have attached an example that demonstrates that.

If I use the SWT.Ballon style the tooltip does not re-appear after calling dispose().
Comment 1 Steffen Pingel CLA 2011-02-15 20:06:47 EST
Created attachment 189066 [details]
ToolTipTest.java
Comment 2 Steffen Pingel CLA 2011-02-15 20:06:49 EST
Created attachment 189067 [details]
mylyn/context/zip
Comment 3 Bogdan Gheorghe CLA 2011-02-22 14:07:26 EST
Arun, take a look at this please.
Comment 4 Arun Thondapu CLA 2011-03-02 09:55:47 EST
Created attachment 190151 [details]
Proposed patch

Please review the proposed patch. Thanks!
Comment 5 Arun Thondapu CLA 2011-03-21 08:15:07 EDT
Created attachment 191605 [details]
Revised patch

Revised the patch to ensure that calling dispose directly without calling setVisible first also works as expected.

Please review the revised patch. Thanks!
Comment 6 Adrian Stefanescu CLA 2011-06-22 05:28:37 EDT
this still occurs in eclipse 3.7 m4
Comment 7 Bogdan Gheorghe CLA 2011-11-14 10:48:34 EST
Patch released.

Fixed in master > 20111114