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.
Created attachment 127438 [details] screenshot The new 7.3beta (2 and 3) use bold fonts in the main menu bar, project view, etc. - see screenshot The fonts are fine in 7.2.
What is the JDK version you are using ? Gnome/KDE ... themes ? Please provide requested informations and reopen. Thanks in advance.
Running netbeans on jdk6. In ubuntu, using the default Unity desktop, which I assume is somehow based on Gnome.
Please run some plain Java Swing application, e.g. SwingSet demo (in your JDK6 folder) with the same JDK, attach a screen shot and reopen, thanks.
Turns out that this is an issue w/ the IcedTea JDK that ships w/ Ubuntu by default: java version "1.7.0_09" OpenJDK Runtime Environment (IcedTea7 2.3.3) (7u9-2.3.3-0ubuntu1~12.10.1) OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode) Switching the JDK to JDK6 resolves the issue: netbeans_jdkhome="/usr/lib/jvm/java-6-sun" It looks like the netbeans installer picked up the default JDK on the system and set it in the config file. Maybe if NetBeans doesn't look right w/ IcedTea, it should look for a JDK that it is considered compatible with. I'm not sure whether this is still an issue or not, if it is it's probably not an issue against NetBeans.
Created attachment 127674 [details] netbeans 7.2 with Oracle JDK 7
The same problem manifests itself with Oracle JDK7 as the netbeans_jdkhome value: netbeans_jdkhome="/usr/lib/jvm/java-7-oracle" Re-opening the issue as this is a problem w/ JDK7 on both 7.2 and 7.3Beta2
(In reply to comment #6) > The same problem manifests itself with Oracle JDK7 as the netbeans_jdkhome > value: > > netbeans_jdkhome="/usr/lib/jvm/java-7-oracle" > > Re-opening the issue as this is a problem w/ JDK7 on both 7.2 and 7.3Beta2 Please provide a screen shot of plain Swing app running with the same JDK and reopen, thanks. You can use e.g. SwingSet demo app in your JDK 6 folder.
Netbeans doesn't qualify as a "plain swing app" ?
(In reply to comment #8) > Netbeans doesn't qualify as a "plain swing app" ? If you can reproduce the problem in other Swing app then it's a bug in JDK. Otherwise it's something we can fix in NetBeans.
There is no problem w/ the menus when running Swingset3 using JDK7, see attached screenshot. Also, can we please stop this constant closing of the issue until it's clear that it really isn't a real issue ?
Created attachment 127721 [details] JDK7 running swingset3 No bold menus in JDK7 Swingset3
The screen shot shows the SwingSet app is running with Nimbus L&F while your NetBeans was running under GTK l&f. Please run SwingSet2 demo app and select correct l&f in its main menu.
Indeed, an issue w/ the GTK+ theme on JDK7 - the screenshot with SwingSet3 and JDK7 and GTK+ theme makes all menu items bold. Switching to a different L&F makes the menus normal weight again. Not sure how to proceed from here. Stanislav - can you file the issue w/ JDK7 ?
Created attachment 127753 [details] jdk7 with gtk+ theme swingset 3 bold menu items
Please provide more info about your setup (OS version number, JDK version number etc) because I can't reproduce the problem in this setup: Product Version: NetBeans IDE Dev (Build 20121107-35f9bf43351b) Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_07-b10 System: Linux version 3.2.0-23-generic-pae running on i386; UTF-8; en_US (nb)
Waiting for the reporter to provide the requested info.
>System Info: Product Version = NetBeans IDE 7.3 Beta 2 (Build 201211062253) (#4b9ddecda013) Operating System = Linux version 3.5.0-18-generic running on amd64 Java; VM; Vendor = 1.7.0_09; Java HotSpot(TM) 64-Bit Server VM 23.5-b02; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.7.0_09-b05 Java Home = /usr/lib/jvm/java-7-oracle/jre System Locale; Encoding = en_US (nb); UTF-8 > uname -a Linux bunmonster 3.5.0-18-generic #29-Ubuntu SMP Fri Oct 19 10:26:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux This is an Ubuntu 12.10 running under the default Unity desktop What other info is needed ?
It seems to be a bug in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/937200
The solution (worked for me too) sudo apt-get remove fonts-unfonts-core
*** Bug 226306 has been marked as a duplicate of this bug. ***
(In reply to comment #19) > The solution (worked for me too) > > sudo apt-get remove fonts-unfonts-core From https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/937200 it says that only when you install wine on ubuntu fonts-unfonts-core is being installed, which messes up the fonts for java. Uninstalling them should work
I wonder - if the resolution 'WORKSFORME' is correct since it definately IS an issue. It might be fixable on netbeans side by correcting somehow the 'bold'ness or even to make sure not to use the default fonts? I wonder if anybody is listening as long this bug stays in 'WORKSFORME'?
(In reply to comment #22) > I wonder - if the resolution 'WORKSFORME' is correct since it definately IS an > issue. You are right, the correct resolution is WOTNFIX > It might be fixable on netbeans side by correcting somehow the 'bold'ness or > even to make sure not to use the default fonts? No, that is a wrong way to go.
Sorry to bother you more, but may I ask then, what the right way to do this is?
What about a Info page that is shown on startup of netbeans for those, who have 'fonts-unfonts-core' installed, showing how to resolve the issue: sudo apt-get remove fonts-unfonts-core
(In reply to comment #25) > What about a Info page that is shown on startup of netbeans for those, who have > 'fonts-unfonts-core' installed, showing how to resolve the issue: > I don't think we can detect that from Java...
I had the same issue, with Linux Mint. sudo apt-get remove fonts-unfonts-core worked for me. Distributor ID: LinuxMint Description: Linux Mint 14 Nadia Release: 14 Codename: nadia
*** Bug 227693 has been marked as a duplicate of this bug. ***
*** Bug 227895 has been marked as a duplicate of this bug. ***
Is there really no way that you can do sth on the 'netbeans' side to not show bold fonts - like - Using another font? - Warning the user on startup - Giving the user information on how to workaround this 'boldness' Can you guys do sth actively to see that the original bug gets fixed? Who's error is it anyway that netbeans gets the bold font although it's not supposed to be there?
Standa, can you file a bug againt JDK and put a reference here? Thanks.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8012351
*** Bug 228280 has been marked as a duplicate of this bug. ***
I would like to add some info to the mentioned JDK1.7 bug but I don't know how to contact the bug page on sun website. This issue raised for me with 7.3 only after I installed wine-1.4. After digging, I found that wine installs the package unfont-core which creates the fonts: UnBatangBold.ttf UnBatang.ttf UnDinaruBold.ttf UnDinaruLight.ttf UnDinaru.ttf UnDotumBold.ttf UnDotum.ttf UnGraphicBold.ttf UnGraphic.ttf UnGungseo.ttf UnPilgiBold.ttf UnPilgi.ttf in /usr/share/fonts/truetype/unfonts-core/ folder After removing this folder Netbeans 7.3 fonts are back to normal (needs restart of NB7.3) Is there a way to pass this info to the guys at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8012351?
*** Bug 236181 has been marked as a duplicate of this bug. ***
SPAM - Removed by Administrator