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 231701

Summary: nimbus laf in NB has problems with font sizes
Product: platform Reporter: Ondrej Vrabec <ovrabec>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: normal CC: mclaborn
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log
menu screenshot
options screenshot

Description Ondrej Vrabec 2013-06-24 09:31:17 UTC
Product Version = NetBeans IDE Dev (Build 20130617-ab3512bc7eab)
Operating System = Linux version 3.7.10-1.1-desktop running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01

using Dark Nimbus laf, the IDE running with "--fontsize 18" option
The IDE mixes font-sizes in swing components, see the attached screenshots:
1) menu (both popup and main menu) displays submenu labels in smaller font than other menu items
2) tab titles (such as in Tools -> Options -> Misc) uses different sizes for active and other tabs
3) menu bar in the main window uses small fonts (in default size, i guess 12pt ?)
Comment 1 Ondrej Vrabec 2013-06-24 09:31:21 UTC
Created attachment 136202 [details]
IDE log
Comment 2 Ondrej Vrabec 2013-06-24 09:31:48 UTC
Created attachment 136203 [details]
menu screenshot
Comment 3 Ondrej Vrabec 2013-06-24 09:32:13 UTC
Created attachment 136204 [details]
options screenshot
Comment 4 Stanislav Aubrecht 2013-06-24 13:54:15 UTC
core-main ef2ef9570fe7 makes it a bit better. However there are still some component types that use the default font size.

Nimbus l&f implementation must be really robust if it resist font changes so much...
Comment 5 mclaborn 2013-12-11 16:55:27 UTC
+1 for a fix on this. My tired, old eyes would really thank you.
Comment 6 Martin Entlicher 2016-05-16 09:41:07 UTC
*** Bug 256120 has been marked as a duplicate of this bug. ***
Comment 7 Martin Entlicher 2016-05-16 09:42:55 UTC
There seems to be a race-condition in Nimbus. The size varies between IDE restarts.
Comment 8 homberghp 2017-04-14 10:45:22 UTC
(In reply to Martin Entlicher from comment #7)
> There seems to be a race-condition in Nimbus. The size varies between IDE
> restarts.

This is what I observe too. Nimbus, 8.2, Ubuntu 16.04 Unity
Comment 9 mclaborn 2017-04-14 13:27:47 UTC
Still a problem for me in Ubuntu 16.04 with XFCE.