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 112023 - Special characters lead to incomplete string rendering
Summary: Special characters lead to incomplete string rendering
Status: CLOSED INVALID
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2007-08-06 10:57 UTC by rost
Modified: 2011-06-09 09:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Text correctly rendered in the Value text area (3.84 KB, image/png)
2007-08-06 10:58 UTC, rost
Details
Text incompletely rendered in the properties table (1.43 KB, image/png)
2007-08-06 10:59 UTC, rost
Details
test application (runnable .jar) - compiled with JDK 1.4.2_15 (4.25 KB, application/octet-stream)
2007-08-06 16:26 UTC, Marian Petras
Details
source code of the test application (3.28 KB, text/plain)
2007-08-06 16:27 UTC, Marian Petras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rost 2007-08-06 10:57:07 UTC
When I have texts with special characters, e.g. \u011D, they are correctly rendered in the Value text area the bottom 
of the screen but not in the table view. The worst thing is that rendering just stops at the special character so that 
the table provides incomplete information.
Comment 1 rost 2007-08-06 10:58:10 UTC
Created attachment 46182 [details]
Text correctly rendered in the Value text area
Comment 2 rost 2007-08-06 10:59:05 UTC
Created attachment 46183 [details]
Text incompletely rendered in the properties table
Comment 3 Marian Petras 2007-08-06 16:23:50 UTC
This is caused by a JDK bug and it is JDK-specific. I could only reproduce it with a monospaced font. I have reproduced
it Linux (running on Intel) on several versions of JDK with various results:

   JDK 1.4.2_15:   The 'g' with circumflex is rendered below text baseline and there is no space right of it
   JDK 1.5.0_12:   The 'g' with circumflex is rendered below text baseline,
                   both horizontal and vertical position vary with each run of the test application
   JDK 1.6.0_02:   Rendering varies significantly - sometimes the 'g' is not displayed at all,
                   sometimes it is displayed far right of the preceding text, sometimes it is rendered
                   over the preceding character, vertical position varies, too.
   JDK 1.7.0-ea-b16:  Seems to be working correctly every time.
Comment 4 Marian Petras 2007-08-06 16:26:03 UTC
Created attachment 46216 [details]
test application (runnable .jar) - compiled with JDK 1.4.2_15
Comment 5 Marian Petras 2007-08-06 16:27:13 UTC
Created attachment 46217 [details]
source code of the test application
Comment 6 Marian Petras 2007-08-06 17:18:24 UTC
I filed JDK bug 6589604 for it. Please note that it may take several days for the bug to appear in the public bug
database (http://bugs.sun.com/).
Comment 7 Marian Petras 2007-08-06 17:19:06 UTC
This bug is only reproducible on Linux.
Comment 8 rost 2007-08-10 20:17:07 UTC
Thank you very much for filing the bug report. Here is the direct link:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6589604
By the way, the evaluator asks for more info:
"The specific distro and version of Linux should be provided by the submitter." Can you do that? My Linux distribution 
is in constant flux and not specific enough. Debian testing :-)
Comment 9 Marian Petras 2007-08-13 09:46:27 UTC
I have already answered to the question (through a Sun-internal tool). It just is not visible in the bug report at
bugs.sun.com.
Comment 10 Marian Mirilovic 2011-06-09 09:56:31 UTC
v/c