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 46636 - Cannot see value of long toString() in Local Variables window
Summary: Cannot see value of long toString() in Local Variables window
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
: 50687 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-27 21:45 UTC by Jesse Glick
Modified: 2008-12-22 18:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Bug fix (6.34 KB, patch)
2004-11-10 15:26 UTC, Stanislav Aubrecht
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-07-27 21:45:38 UTC
Often the toString() of a local variable extends
beyond the width of the tree table column. The
tooltip for the row helpfully explains, "Displays
value of toString() call", instead of showing me
the value (as I expected it to - compare property
sheet). And the "..." button when clicked does
nothing.

040726 (and earlier), 1.5.0 b59, Ocean.
Comment 1 Jan Jancura 2004-08-04 13:11:45 UTC
"..." button works now.

Tooltips are not fixable on my side, as I know. Is it true, Tim?
Or is it possible to fix it in ttw at least for String types of
properties?

Comment 2 _ tboudreau 2004-08-17 13:48:12 UTC
I'm not sure fixing this is a great idea - remember all the issues 
with tooltips wider than the screen and such.  I have code in the 
property sheet that uses HTML to line wrap very long tooltips, but 
consider that you *can* (I've seen it) end up with tooltip as big as 
the screen, or bigger :-/
Comment 3 Stanislav Aubrecht 2004-11-10 15:26:40 UTC
Created attachment 18826 [details]
Bug fix
Comment 4 Stanislav Aubrecht 2004-11-10 15:35:22 UTC
the tooltip text is broken down into max 10 lines, 80 chars each.
however the tooltip may mislead some users into thinking there's a
'new line' char in the text. still, it's better than current "Displays
value of toString() call"

dafe, pls review
Comment 5 David Simonek 2004-12-07 15:16:28 UTC
Reviewed, OK. I like the solution, far better then current state. And
I guess we don't want to implement scrollable toltips for edge cases
like too long toString output :-) so the solution is really fine.
Comment 6 Stanislav Aubrecht 2004-12-07 15:59:19 UTC
fixed

/cvs/openide/src/org/openide/explorer/view/TableSheetCell.java,v  <--
 TableSheetCell.java
new revision: 1.20; previous revision: 1.19
done
Checking in src/org/openide/explorer/view/Bundle.properties;
/cvs/openide/src/org/openide/explorer/view/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.23; previous revision: 1.22
done
Comment 7 Stanislav Aubrecht 2005-01-04 13:38:50 UTC
*** Issue 50687 has been marked as a duplicate of this issue. ***
Comment 8 Marian Mirilovic 2006-01-17 15:21:44 UTC
fixed since Jan/05 - verified