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 116815 - --fontsize has no effect on Projects window and menu bar
Summary: --fontsize has no effect on Projects window and menu bar
Status: RESOLVED DUPLICATE of bug 100322
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: GTK, L&F
Depends on:
Blocks:
 
Reported: 2007-09-26 12:45 UTC by bordasb
Modified: 2008-12-22 11:20 UTC (History)
2 users (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 bordasb 2007-09-26 12:45:31 UTC
When starting the IDE with the --fontsize option such as "./netbeans --fontsize 8" the specified size has effect only on
the "Start Page" window, but not on the menu bar or the "Projects" window. 
Problem may or may not relate to Issue ID:32667, 82774
Comment 1 Jiri Prox 2007-10-08 12:39:36 UTC
What Look And Feel do you use? It works fine for me on Metal L&F
Comment 2 bordasb 2007-10-10 09:17:38 UTC
I use the default Gnome desktop of CentOS 5. 
Comment 3 Jiri Prox 2007-10-10 10:38:34 UTC
If you're running on Gnome and you use jdk 1.6_01 or later, the default look and feel is GTK. You can then set font for
all applications in system options (gnome-font-properties tool)
Comment 4 bordasb 2007-10-10 13:29:08 UTC
Do you mean that it is normal with Gnome, GTK and jdk 1.6 that --fontsize option has no effect in connection with
Netbeans 6? If you do, I can accept that and live with it.
I raised the question because --fontsize option works well with Netbeans 5.51 on the same system.
Also checked the issue with KDE and jdk 1.6, and the --fontsize option works as intended there with Netbeans 6, as you
have already pointed out.
Comment 5 Jiri Prox 2007-10-10 14:21:20 UTC
Reassigning to core, for evaluation, maybe we can do something about it.
Comment 6 Antonin Nebuzelsky 2007-10-11 11:43:33 UTC
bordasb, does changing font size in system options for the Gnome as whole change the font size also in NetBeans for you?

> Do you mean that it is normal with Gnome, GTK and jdk 1.6 that --fontsize option has no effect?

Yes, this is correct.

Reassigning to Dafe who can explain more and close this issue.
Comment 7 David Simonek 2007-10-11 12:24:43 UTC
Yes, this is duplicate of 100322. On GTK L&F, --fontsize really has no effect, warning is logged if --fontsize is used
AFAIK. Ideally --fontsize should work on GTK L&F the same way as in other L&Fs, that's why we leave 100322 opened -
unfortunately it's tricky and I didn't find out how to change font sizes in GTK L&F yet.

*** This issue has been marked as a duplicate of 100322 ***