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.
Summary: | I18N - parts of javadoc shown in internal browser does not show multibyte properly | ||
---|---|---|---|
Product: | platform | Reporter: | Ken Frank <kfrank> |
Component: | Window System | Assignee: | David Simonek <dsimonek> |
Status: | VERIFIED WONTFIX | ||
Severity: | blocker | CC: | dprusa, jchalupa, jf4jbug, jrechtacek, mgrummich, rkubacki |
Priority: | P2 | Keywords: | I18N, JDK_SPECIFIC |
Version: | 5.x | ||
Hardware: | Sun | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
image
image excepton exception zip of test app |
Description
Ken Frank
2005-12-30 20:20:43 UTC
Created attachment 28107 [details]
image
Created attachment 28108 [details]
image
other attachment shows how it is in mozilla, where the parts at the top or bottom show properly. ken.frank@sun.com attached is exception that seems to be associated with this since at bottom refers to the project with mbyte in its name, but is referring to the url using the garbled mbyte, not the actual (as before, see the attached gifs) ken.frank@sun.com Created attachment 28110 [details]
excepton
Please evaluate this issue, isn't it problem of the component displaying the HTML javadoc code? I am not able to view the exception attachement, it is probably broken somehow. Can you attach it again, plese? Since the generated javadoc is displayed correctly in the external browser, it seems the problem is caused by the internal browser. Reassigning for further evaluation. I am not able to view the exception attachement, it is probably broken somehow. Can you attach it again, plese? Since the generated javadoc is displayed correctly in the external browser, it seems the problem is caused by the internal browser. Reassigning for further evaluation. I need further info, please: - exception stack trace, as dprusa requested - a way how to reproduce this error on regular english win XP. What version of NB should I install, what locale? Unfortunately I know too little about chinese version of netbeans. - error may be directly in Swing, because internal HTML browser component is handled by Swing - jrechtacek, do you see any connection with the famous bug you solved, about showing squares instead of chinese text in New... wizard? Sorry, I'd chosen gif for the format of exception though it was text; am reattaching. Dafe, will send you the doc on how to do the easy setup of windows xp en to use other locales; many other nb dev can tell you more. As to the bug of squares vs proper mbyte in new wizard, can I get more details - using en xp but using other locales, and using default ide size, for many bold fonts and some others in explorer (main project) or new wizard left side, for example, the boxes show and I always thought it was jdk bug but need to have a sample java program that uses same ui object and fonts as nb uses where these boxes are shown - to see if it really is nb. (in specific localized windows it does not happen; using larger font than 11 it does not happen; using prev jdk it happened but it was not boxes but incorrect mbyte) ken.frank@sun.com ken.frank Sorry, I'd chosen gif for the format of exception though it was text; am reattaching. Dafe, will send you the doc on how to do the easy setup of windows xp en to use other locales; many other nb dev can tell you more. As to the bug of squares vs proper mbyte in new wizard, can I get more details - using en xp but using other locales, and using default ide size, for many bold fonts and some others in explorer (main project) or new wizard left side, for example, the boxes show and I always thought it was jdk bug but need to have a sample java program that uses same ui object and fonts as nb uses where these boxes are shown - to see if it really is nb. (in specific localized windows it does not happen; using larger font than 11 it does not happen; using prev jdk it happened but it was not boxes but incorrect mbyte) ken.frank@sun.com ken.frank Sorry, I'd chosen gif for the format of exception though it was text; am reattaching. Dafe, will send you the doc on how to do the easy setup of windows xp en to use other locales; many other nb dev can tell you more. As to the bug of squares vs proper mbyte in new wizard, can I get more details - using en xp but using other locales, and using default ide size, for many bold fonts and some others in explorer (main project) or new wizard left side, for example, the boxes show and I always thought it was jdk bug but need to have a sample java program that uses same ui object and fonts as nb uses where these boxes are shown - to see if it really is nb. (in specific localized windows it does not happen; using larger font than 11 it does not happen; using prev jdk it happened but it was not boxes but incorrect mbyte) ken.frank@sun.com ken.frank Created attachment 28156 [details]
exception
My evaluation so far: - managed to reproduce the error by configuring my win XP for simplified chinese fonts and locale - wrote small Swing app that proves that error *is* in netbeans - error is reproductible also by regular browsing through javadoc using internal nb browser - it seems that we're somehow replacing font that is used for top or bottom parts of generated html javadoc Hopefully final evaluation: On the contrary of what I said before, it is probably JDK problem. In my last report, I mixed JDK versions, that's why the confusion. So here is the story: Bug exists only on JDK 1.5.x, both on JDK 1.4.2_08 and JDK 1.6 it works OK for me. I wrote small demo swing app as a proof. The source of the problem seems to be bad mapping of fonts somewhere inside Swing html kit implementation. When I manually change font in generated html in problematic section (navigation bar), it will look OK even with JDK 1.5.x So, when you run small attached app, everything should look OK with the exception of JDK 1.5.x, where navigation bars will contain square boxes, except for the places where I manually changed the font of generated piece of html. I also searched JDK bug database, but I didn't find this exact problem. However the bug appears already fixed in JDK 1.6, so I think it's not necessary to file new JDK bug. Created attachment 28215 [details]
zip of test app
Nothing more can be done on netbeans side, closing as wontfix. kfrank, please would you verify my findings, thanks. kfrank, could you be so kind to verify this issue? Thanks in advance. Verified in behalf of Ken. |