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.
Using latest ml zh netbeans build, and having font come from localized file or from -fontsize option, the welcome window contents do not show in that larger font. For s1s, welcome window does show at larger font. See attachment. Since this is visible item to user of Chinese localzied release, which will be at 14 point font, could this be fixed now for the ML release ? Also, the third hyperlink under help section does not show fully on invocation, even with resizing.
In s1s, there was no need to change fontsize in actual html files of welcome, it all showed in the fontsize of -fontsize argument.
Created attachment 10771 [details] welcome window
Ken, As I know s1s doesn't use html for welcome content, unfortunately nb does. So I'm going to investigate into how to fix it.
Created attachment 10788 [details] diff of proposed changes
Localization will need - create own localized html pages aptionaly without font size and font family settings inside - set the size of next button in tip panel- if not default font size wil be used (this feature was requested in separated issue) - set width and heigth of content panel in bundle. Thee are new keys: Win_Content_panel_width win_Content_panel_height for win platforms and Content_panel_width Content_panel_height for others
Diff reviewed without objections.
fixed in trunk. Checking in src/org/netbeans/modules/welcome/Bundle.properties; /cvs/ui/welcome/src/org/netbeans/modules/welcome/Bundle.properties,v <-- Bundle.properties new revision: 1.22; previous revision: 1.21 done Checking in src/org/netbeans/modules/welcome/ContentPanel.java; /cvs/ui/welcome/src/org/netbeans/modules/welcome/ContentPanel.java,v <-- ContentPanel.java new revision: 1.16; previous revision: 1.15 done Checking in src/org/netbeans/modules/welcome/ControlLabel.form; /cvs/ui/welcome/src/org/netbeans/modules/welcome/ControlLabel.form,v <-- ControlLabel.form new revision: 1.2; previous revision: 1.1 done Checking in src/org/netbeans/modules/welcome/ControlLabel.java; /cvs/ui/welcome/src/org/netbeans/modules/welcome/ControlLabel.java,v <-- ControlLabel.java new revision: 1.3; previous revision: 1.2 done Checking in src/org/netbeans/modules/welcome/ControlPanel.form; /cvs/ui/welcome/src/org/netbeans/modules/welcome/ControlPanel.form,v <-- ControlPanel.form new revision: 1.4; previous revision: 1.3 done Checking in src/org/netbeans/modules/welcome/ControlPanel.java; /cvs/ui/welcome/src/org/netbeans/modules/welcome/ControlPanel.java,v <-- ControlPanel.java new revision: 1.5; previous revision: 1.4 done Checking in src/org/netbeans/modules/welcome/TipPanel.java; /cvs/ui/welcome/src/org/netbeans/modules/welcome/TipPanel.java,v <-- TipPanel.java new revision: 1.21; previous revision: 1.20 done Checking in src/org/netbeans/modules/welcome/WelcomeComponent.java; /cvs/ui/welcome/src/org/netbeans/modules/welcome/WelcomeComponent.java,v <-- WelcomeComponent.java new revision: 1.20; previous revision: 1.19 done
wrong state RESOLVED -
Fixed in trunk.
fixed in release35. Checking in src/org/netbeans/modules/welcome/Bundle.properties; /cvs/ui/welcome/src/org/netbeans/modules/welcome/Bundle.properties,v <-- Bundle.properties new revision: 1.20.6.1; previous revision: 1.20 done Checking in src/org/netbeans/modules/welcome/ContentPanel.java; /cvs/ui/welcome/src/org/netbeans/modules/welcome/ContentPanel.java,v <-- ContentPanel.java new revision: 1.14.2.1; previous revision: 1.14 done Checking in src/org/netbeans/modules/welcome/ControlLabel.form; /cvs/ui/welcome/src/org/netbeans/modules/welcome/ControlLabel.form,v <-- ControlLabel.form new revision: 1.1.20.1; previous revision: 1.1 done Checking in src/org/netbeans/modules/welcome/ControlLabel.java; /cvs/ui/welcome/src/org/netbeans/modules/welcome/ControlLabel.java,v <-- ControlLabel.java new revision: 1.2.2.1; previous revision: 1.2 done Checking in src/org/netbeans/modules/welcome/ControlPanel.form; /cvs/ui/welcome/src/org/netbeans/modules/welcome/ControlPanel.form,v <-- ControlPanel.form new revision: 1.2.18.1; previous revision: 1.2 done Checking in src/org/netbeans/modules/welcome/ControlPanel.java; /cvs/ui/welcome/src/org/netbeans/modules/welcome/ControlPanel.java,v <-- ControlPanel.java new revision: 1.3.2.1; previous revision: 1.3 done Checking in src/org/netbeans/modules/welcome/TipPanel.java; /cvs/ui/welcome/src/org/netbeans/modules/welcome/TipPanel.java,v <-- TipPanel.java new revision: 1.19.2.1; previous revision: 1.19 done Checking in src/org/netbeans/modules/welcome/WelcomeComponent.java; /cvs/ui/welcome/src/org/netbeans/modules/welcome/WelcomeComponent.java,v <-- WelcomeComponent.java new revision: 1.15.2.3; previous revision: 1.15.2.2 done
Created attachment 10861 [details] Image - Tip Panel
Using latest en build, the message font in tip panel is larger than 3.5 build. (see the attached gif: TipPanel.gif) This issue also occurs in ml-ja build, so we are going to add font-size specification into every tip html as workaround.
Please don't add font-size spec into each tip html - it is not correct solution. What when user sets larger fontsize - the tips will have always the same size. I'm working on issue 34714 and this problem will be fixed as part of it.
Fix of problem with TipPanel is part of issue 34714 .
verified on s1s ken.frank@sun.com