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 115796 - [60cat] Tooltip on error hints without spaces
Summary: [60cat] Tooltip on error hints without spaces
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 6.x
Hardware: Other Other
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-18 09:07 UTC by sunbiz
Modified: 2008-02-26 17:28 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Tooltip-Codehints (9.93 KB, image/png)
2007-09-18 09:08 UTC, sunbiz
Details
The attachment based on the steps I followed to recreate the bug (160.65 KB, image/jpeg)
2007-10-24 20:42 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2007-09-18 09:07:49 UTC
[ BUILD # : 200709141330 ]
[ JDK VERSION : 1.6.2 ]

The netBeans 6.0 code-editor doesn't show spaces 
between lines in error hints. When the mouse is 
placed on the error line, the tooltip doesn't 
have correct spacing between sentences. Seems to 
be missing space or either newline char not 
appearing!  Check the screenshot...couldn't 
describe the bug in words.

OS: Windows Vista
Comment 1 sunbiz 2007-09-18 09:08:42 UTC
Created attachment 48962 [details]
Tooltip-Codehints
Comment 2 Jan Lahoda 2007-09-18 12:37:01 UTC
Well, the texts provided by the java infrastructure&the tooltips created from these by the editor hints infrastructure
contain '\n', I have just verified this. But, the tooltips in JSPs do not show the '\n's (in Java it is fine for me).
Does not seem like Java or hints problem, sorry.
Comment 3 Tomasz Slota 2007-10-24 08:37:24 UTC
I cannot reproduce it, I seriously doubt it is JSP editor specific, possibly it depends on the OS. Reassigning to editor for evaluation.
Comment 4 Vitezslav Stejskal 2007-10-24 12:53:20 UTC
There have been some fixes recently in this area. Please reopen if you can still reproduce it in latest dailies or beta2.
Comment 5 sunbiz 2007-10-24 20:39:54 UTC
Yes, the problem still seems to exist and Im using beta2 (Build 200710212201)... The easiest way to reproduce the bug 
is the following steps: 

1.) New Project (Ctrl+Shift+N)
2.) Select Web ==> Web Application and then Next. Next again and Next again and then Finish
3.) After the body tag, type this:
<%
  Connection con 
%>
4.) Taking the mouse cursor on the error on the left will produce hints without spaces like in the attached screenshot

Note: and since tslota mentioned this could be an OS issue, Im using Windows Vista as my OS
Comment 6 sunbiz 2007-10-24 20:42:40 UTC
Created attachment 51625 [details]
The attachment based on the steps I followed to recreate the bug
Comment 7 Jiri Prox 2007-10-25 08:05:38 UTC
reproducible, but happens only in jsp, in java file it works fine

Product Version: NetBeans IDE Dev (Build 20071024093841)
Java: 1.6.0_03-ea; Java HotSpot(TM) Client VM 1.6.0_03-ea-b01
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Comment 8 sunbiz 2007-11-09 17:06:34 UTC
Problem still exists with build Build 200711080000. I think it was the first bug that I filed.. and it still remains to 
be fixed!!
Comment 9 Vitezslav Stejskal 2007-11-11 14:07:19 UTC
Hi sunbiz, we are sorry that this one slipped through. Unfortunately with release60 branch in the high resistance mode
this is not going to be fixed in nb6 release. I'll have a look at what's different about JSP tooltips and sort it out
somehow. Thanks for understanding
Comment 10 Petr Jiricka 2007-11-29 09:31:23 UTC
So could this be fixed soon after 6.0 so we can post it as a patch to the update center?
Comment 11 Petr Jiricka 2007-11-29 12:52:42 UTC
It was mentioned in the 6.0 NetCat acceptance survey:
http://qa.netbeans.org/processes/cat/60/results/editor_comments.html
Comment 12 Max Sauer 2008-02-26 17:28:02 UTC
This issue is not valid anymore in current builds. Marking as WORKSFORME. Please reopen if it occurs again.
---
Product Version: NetBeans IDE Dev (Build 20080225070217)
Java: 1.6.0_04-dp; Java HotSpot(TM) 64-Bit Server VM 1.6.0_04-b12-45-optimized
System: Mac OS X version 10.5.2 running on x86_64; MacRoman; en_US (nb)
Userdir: /Users/maxa/.netbeans/dev