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

Bug 212663

Summary: [QuickAccess] Roll-over tooltip too wide
Product: [Eclipse Project] Platform Reporter: Boris Bokowski <bokowski>
Component: UIAssignee: Boris Bokowski <bokowski>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: snorthov
Version: 3.4   
Target Milestone: 3.4 M4   
Hardware: PC   
OS: Windows All   
Whiteboard:

Description Boris Bokowski CLA 2007-12-11 15:45:55 EST
[I20071211-0010], Windows XP and Windows Vista

Steps:

1. Hit Ctrl-3 to open the Quick Access Dialog
2. Type "er"
3. Hover over one of the cut-off entries
-> a roll-over tooltip (native) appears. It is way too wide.

Note that in the build referenced above, you will see another tooltip (non-native), which I will remove. This bug is only about the native one being to wide.
Comment 1 Boris Bokowski CLA 2007-12-11 15:53:11 EST
Also, my code calls table.setToolTipText("") - isn't this supposed to disable the native tooltips?
Comment 2 Boris Bokowski CLA 2007-12-11 15:58:37 EST
The tooltips appear to be 2 times as wide as they should be.
Comment 3 Steve Northover CLA 2007-12-11 16:34:30 EST
Let's start off like this.  For M4, I will fix the table.setToolTipText("") bug.  That one is easy and safe.  Leave your hover in place and all will be well.  Next, I'll see about fixing the real bug.  If there are too many changes, it won't go in for M4.  Do you agree?

Please enter a new bug for the table.setToolTipText("") problem.
Comment 4 Boris Bokowski CLA 2007-12-11 16:51:53 EST
> Please enter a new bug for the table.setToolTipText("") problem.

done: bug 212671
Comment 5 Steve Northover CLA 2007-12-11 18:20:50 EST
QuickAccessEntry.measure() looks bogus.  It takes the width that was passed in and adds to it rather than replacing it.  Boris, is this your bug?
Comment 6 Boris Bokowski CLA 2007-12-12 11:47:12 EST
Yes, this is my bug.  Sorry!
Comment 7 Boris Bokowski CLA 2007-12-12 11:54:51 EST
Fix in HEAD.