This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 191375 - setTooltip("") brings a tiny empty box on screen
Summary: setTooltip("") brings a tiny empty box on screen
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-26 16:46 UTC by johnsonlau
Modified: 2010-10-28 02:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
component.setToolTipText("") results a tiny empty box shown on screen (between uses and of) (63.65 KB, image/png)
2010-10-26 16:46 UTC, johnsonlau
Details
Patch: call component.setToolTipText(null) instead (4.04 KB, patch)
2010-10-26 17:16 UTC, johnsonlau
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description johnsonlau 2010-10-26 16:46:18 UTC
Created attachment 102648 [details]
component.setToolTipText("") results a tiny empty box shown on screen (between uses and of)

ComboBoxUpdater sets tooltip text by calling
component.setToolTipText("");
instead of
component.setToolTipText(null);
when the value is not inherited from parent or default,
which results a tiny empty box shown on the screen.

See the screenshot attached.
Comment 1 Jesse Glick 2010-10-26 17:14:03 UTC
Reproducible.
Comment 2 johnsonlau 2010-10-26 17:16:37 UTC
Created attachment 102650 [details]
Patch: call component.setToolTipText(null) instead
Comment 3 Jesse Glick 2010-10-26 19:28:00 UTC
Yes, I was already working on a (slightly larger) patch.
Comment 4 Jesse Glick 2010-10-26 19:30:00 UTC
core-main #0bc19b9f4bb2
Comment 5 Quality Engineering 2010-10-28 02:55:24 UTC
Integrated into 'main-golden', will be available in build *201010280000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0bc19b9f4bb2
User: Jesse Glick <jglick@netbeans.org>
Log: #191375: setTooltip("") brings a tiny empty box on screen