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 96154

Summary: Tooltip for evaluating variables does not respect new lines
Product: debugger Reporter: Jiri Prox <jiriprox>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description Jiri Prox 2007-02-21 13:54:48 UTC
5.5.1 Beta 200702200900
JDK 1.6
Linux

Tool tip for evaluating variable while debugging does not respect \n in strings
and prints them in single line.
Comment 1 Vitezslav Stejskal 2007-02-22 01:22:45 UTC
Any steps how to reproduce this, please? Thanks.
Comment 2 Jiri Prox 2007-02-22 08:33:29 UTC
Created attachment 38800 [details]
screenshot
Comment 3 Vitezslav Stejskal 2007-04-16 02:59:43 UTC
The problem here is that the tooltip text does not fit on the screen. However, I
do not think that \n or any other control characters in string values should be
interpreted in a special way. They are just characters in a string and you are
interested in knowing that they are there, so they should not be used for
display formatting.
Comment 4 Roman Ondruska 2007-07-16 16:01:44 UTC
Tooltip UI must be specified for such case.
Comment 5 Martin Entlicher 2008-11-18 16:07:24 UTC
Already fixed in NetBeans 6.5.
Comment 6 Jiri Prox 2009-01-08 16:36:54 UTC
verified in
Product Version: NetBeans IDE Dev (Build 20090108033400)
Java: 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16
System: Linux version 2.6.24-22-generic running on i386; UTF-8; en_US (nb)