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.
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.
"..." 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?
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 :-/
Created attachment 18826 [details] Bug fix
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
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.
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
*** Issue 50687 has been marked as a duplicate of this issue. ***
fixed since Jan/05 - verified