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.
NetBeans IDE Dev (Build 200611300230) 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-64 Mac OS X version 10.4.8 running on ppc en_US (nb); MacRoman On Mac OS X the menu item appears as the <html>Advanced Mode<em>()</em>. I guess the closing </ html> tag is missing. See attached screenshot...
Created attachment 36395 [details] Screenshot attached...
Reassign to Jesse, feel free to change the component because I don't know to which component this issue belongs.
Maybe Aqua does not support HTML menu item labels? I have no idea. Added </html> in projects/projectui/src/org/netbeans/modules/project/ui/groups/Bundle.properties 1.2. But if that doesn't help, do not reopen; this menu item will not remain in the NB 6 release anyway.
Tried on continual build but added </html> doesn't solve the problem:-( Jesse, thanks for your effort - according to your explanation the menu item will disappear so that I am marking the issue as VERIFIED.
See issue #89337.
You may want to report a bug to Apple that they do not correctly interpret HTML in Swing menu item labels. Are you using the screen menu bar? IMHO Aqua should either fully interpret the HTML, if that is possible, or at a minimum strip all HTML tags and replace character entities.
I use Screen menu bar. Now I can confirm it is the problem of Mac because when I run IDE with Screen menu bar OFF then the item is displayed correctly with html formatting.
*** Issue 103306 has been marked as a duplicate of this issue. ***
we can argue that this is Apple JDK bug. It doesn't matter, the fact is it's very stupid from user's point of view. They don't care if the bug is in the OS, JDK or NB. They see it in NB. Workaround the bug by not using <html> in menuitem. Or if we want to be fancy, detect Mac OS and don't use <html> there (I don't recommend it, not worth the trouble). It's very unlikely Apple will ever fix this on their side. We spent a lot of effort to avoid using JInlineMenu to make top screen menubar works on Mac. Don't waste that effort. You said the menuitem won't remain in 6.0. Removing it now would be considered a fix too. P2 because of bad first impression. Would like too see this fix by M10. I almost made this bug stopper for M9, BTW.
Fine, projects/projectui/src/org/netbeans/modules/project/ui/groups/Bundle.properties 1.4. I would still appreciate it if reporter could please file a bug report for Apple. Without a Mac there is probably no way I can do so myself.
Verified.