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 150450 - accent marked function doc appear error in code completion
Summary: accent marked function doc appear error in code completion
Status: CLOSED WONTFIX
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2008-10-16 23:12 UTC by roti
Modified: 2008-10-17 18:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
5 piece of errors (100.72 KB, image/jpeg)
2008-10-16 23:13 UTC, roti
Details
sample project (860 bytes, application/x-bzip2)
2008-10-17 09:34 UTC, roti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description roti 2008-10-16 23:12:29 UTC
Tested with NetBeans IDE Dev (Build 200810160201)

When I have accent marked documentation on a function, and I use that function some other place invoking code 
completion, that documentation displays badly. When I select the text, and paste it to a text editor, it is OK, the 
original characters will appear, only the display of that characters bad in code completion's doc.
Comment 1 roti 2008-10-16 23:13:43 UTC
Created attachment 72050 [details]
5 piece of errors
Comment 2 roti 2008-10-16 23:49:47 UTC
When I try to commit to svn, entering accent marked characters to the comment, will behave like I mentioned previously, 
but interactively.
For example entering ű will break line, but I can select the text, and in a text editor it will appear correctly.
Comment 3 Tomasz Slota 2008-10-17 09:14:44 UTC
Sounds like a serious issue but I cannot reproduce it. Please attach the file, state what exact version of NB you used and what is the character encoding for 
your system and the project. 
Comment 4 roti 2008-10-17 09:33:24 UTC
$ locale
LANG=hu_HU.UTF-8
LC_CTYPE="hu_HU.UTF-8"
LC_NUMERIC="hu_HU.UTF-8"
LC_TIME="hu_HU.UTF-8"
LC_COLLATE="hu_HU.UTF-8"
LC_MONETARY="hu_HU.UTF-8"
LC_MESSAGES="hu_HU.UTF-8"
LC_PAPER="hu_HU.UTF-8"
LC_NAME="hu_HU.UTF-8"
LC_ADDRESS="hu_HU.UTF-8"
LC_TELEPHONE="hu_HU.UTF-8"
LC_MEASUREMENT="hu_HU.UTF-8"
LC_IDENTIFICATION="hu_HU.UTF-8"
LC_ALL=

Project setting is: UTF-8

attached the project PhpProject2.tar.bz2
Comment 5 roti 2008-10-17 09:34:30 UTC
Created attachment 72092 [details]
sample project
Comment 6 Tomasz Slota 2008-10-17 10:37:01 UTC
It seems to work fine in the current dev build, what version of NB did you use?
Comment 7 roti 2008-10-17 12:26:05 UTC
as in comment#1: Tested with NetBeans IDE Dev (Build 200810160201)
yesterday nightly build
Comment 8 roti 2008-10-17 12:31:49 UTC
I use Monospaced font, but doesn't matter if I change. It only affects the edtor. Could it be the cc window's font 
problem? But I can't change that.
The strange is in the attached screenshot, the letter ő works fine ...
Comment 9 Tomasz Slota 2008-10-17 12:47:46 UTC
I don't think it is the font... 

are you using linux? Mikhail: can you please try the project on different platforms?
Comment 10 roti 2008-10-17 12:50:06 UTC
Yes, this is Ubuntu 7.10.
I will try it on 8.04.1 soon.
Comment 11 Mikhail Matveev 2008-10-17 13:54:40 UTC
I can't reproduce this with RC1 on WinXP and Solaris SPARC. Will check on Ubuntu.
Comment 12 roti 2008-10-17 17:23:42 UTC
Checked out on my laptop on 8.04.1 , and it is perfect there with same nb build and the same project?

The only diffence is the java version:
java 1.6.0_03-b05 for Ubuntu 7.10
java 1.6.0_06-b02 for Ubuntu 8.04.1

Is it relevant to search for the bug deeper? Is it netbeans's bug?
Comment 13 Tomasz Slota 2008-10-17 17:53:16 UTC
From the user perspective it is a bug in NB, although it seems to be caused by a bug in the JVM. In general we only support the latest JVM available on each  
major platform (unless the problem affects a lot of people), so I think it is OK to close this bug as WONTFIX. 

Thank you for reporting the issue and helping to investigate it!
Comment 14 roti 2008-10-17 18:01:32 UTC
yes, I tried with jdk1.6.0_10, and it work OK

glad we have figured out!