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.
In Japanese build, splash screen of NetBeans displays "null..." for some japanese messages at startup. It causes very bad impression. adjustText() of core/startup/src/org/netbeans/core/startup/Splash.java assumes that string on splash screen can be separated by a space like English. But it doesn't work for Japanese and other languages. We usually do not use a space between the words. adjustText() needs to consider such case - checking character one by one to adjust the length.
Created attachment 28222 [details] snapshot
Created attachment 28223 [details] example of patch - just checking character one by one
Reassigning to core... please evaluate. Thanks.
masaki, what is the build number? Is it EN build or ML build? mgrummich, could you reproduce it in current RC1?
I tried this on 200601052030 ML build. This problem does not happen in EN build, it happens only in Japanese build because startup string is translated into Japanese without any space character.
I didn't see any 'null' during startup for rc1 build 200601101900 (zh_CN locale). Every message comes from bundle, it has a mb prefix.
masaki, thanks for info. Could you be so kind and try the new build of RC1?
Yes, this does not happen in zh locale because translation string is shorter than Japanese.
Still happens in RC ML build - netbeans-5_0-rc1-bin-200601101900 in Japanese locale.
I integrated masaki's patch yesterday, but somehow my comment to IZ was lost. So now the bug should be fixed in main trunk, which means 5.1.
I guess that now it's unfortunately too late to integrate into 5.0, as this bug is not a showstopper, right?
Late, but is it possible to backport this into the NB 5.0 - ML ?
Thank you very much dsimonek for the integration. It's a high priority bug but yes it's not a showstopper. So it's OK to fix at 5.1. mmirilovic, thank you for comment. but if I understand correctly, I think code base of NetBeans will not be changed for ML build, we will use English 5.0 RR + just localization modules.
Dafe, please backport this to the release_50 branch ... today.
Yes, I'm just prepared for the backport commit. Unfortunately checking out whole release50 etc. is time consuming task with all the problems with our CVS repository (my WinCVS failing checkout etc...) So it took me almost whole day :-(
Backported into 5.0 release: Checking in Splash.java; /cvs/core/startup/src/org/netbeans/core/startup/Splash.java,v <-- Splash.java new revision: 1.6.2.1; previous revision: 1.6
mgrummich or masaki, could you be so kind to verify this issue ? Thanks in advance.
Verified the fix is working on 200601182030 build in Japanese locale.Thank you very much for integration to 5.0!!