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 34536 - I18N - Netbeans welcome window does not follow fontsize option
Summary: I18N - Netbeans welcome window does not follow fontsize option
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Welcome (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Richard Gregor
URL:
Keywords: I18N
Depends on:
Blocks: 33246
  Show dependency tree
 
Reported: 2003-06-23 16:19 UTC by Ken Frank
Modified: 2003-07-22 19:56 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
welcome window (28.20 KB, image/gif)
2003-06-23 16:32 UTC, Ken Frank
Details
diff of proposed changes (12.99 KB, patch)
2003-06-24 16:11 UTC, Richard Gregor
Details | Diff
Image - Tip Panel (10.27 KB, image/gif)
2003-07-03 09:54 UTC, yasuhiro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2003-06-23 16:19:36 UTC
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.
Comment 1 Ken Frank 2003-06-23 16:31:33 UTC
In s1s, there was no need to change fontsize
in actual html files of welcome, it all
showed in the fontsize of -fontsize argument.
Comment 2 Ken Frank 2003-06-23 16:32:48 UTC
Created attachment 10771 [details]
welcome window
Comment 3 Richard Gregor 2003-06-24 08:51:40 UTC
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.
Comment 4 Richard Gregor 2003-06-24 16:11:36 UTC
Created attachment 10788 [details]
diff of proposed changes
Comment 5 Richard Gregor 2003-06-24 16:17:02 UTC
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
Comment 6 Martin Entlicher 2003-06-24 16:28:09 UTC
Diff reviewed without objections.
Comment 7 Richard Gregor 2003-06-24 16:34:28 UTC
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
Comment 8 Marian Mirilovic 2003-06-24 16:37:33 UTC
wrong state RESOLVED -
Comment 9 Richard Gregor 2003-06-24 16:38:41 UTC
Fixed in trunk.
Comment 10 Richard Gregor 2003-06-25 13:15:20 UTC
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
Comment 11 yasuhiro 2003-07-03 09:54:29 UTC
Created attachment 10861 [details]
Image - Tip Panel
Comment 12 yasuhiro 2003-07-03 09:57:14 UTC
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.
Comment 13 Richard Gregor 2003-07-04 07:23:01 UTC
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. 
Comment 14 Richard Gregor 2003-07-08 08:52:20 UTC
Fix of problem with TipPanel is part of issue 34714 .
Comment 15 Ken Frank 2003-07-22 19:56:38 UTC
verified on s1s

ken.frank@sun.com