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 35848 - -fontsize overrides theme font settings
Summary: -fontsize overrides theme font settings
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2003-08-30 03:59 UTC by ivan
Modified: 2008-12-22 21:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivan 2003-08-30 03:59:15 UTC
I added some font settings to my system/themes.xml
but they didn't kick in. Eventually I figured that
I had a -fontsize option on the runide cmdline
and when I removed it the theme fonts kicked in.

Seems like reordering of some initializatin
processing is on order?
Comment 1 mslama 2003-09-11 10:40:25 UTC
I am not aware of any change in priority. I think it was not changed.
When -fontsize is set it overwrites not only size but also font in
UIManager. See /core/src/org/netbeans/core/Main.java line 175. Before
any change I would like to see some spec about this. Assigning to UI.
Comment 2 jrojcek 2004-01-17 16:58:41 UTC
The -fontsize command line option should set the default (base) font size. It should 
not override any other font settings.
Comment 3 _ tboudreau 2004-02-21 18:55:45 UTC
Given that themes are less useful now that Metal is no longer the default look and feel for 
most platforms, I don't see much point in changing this (note you can enable themes on 
non-metal look and feels - -J-Dnetbeans.useTheme=true).  It's pretty non-obvious 
whether theme or -fontsize should win.  If you want larger fonts + themes, just set them 
in the theme file and don't use -fontsize.
Comment 4 Marian Mirilovic 2005-07-12 09:46:59 UTC
closed