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 90373 - "File | Project Group | Advanced Mode" menu displays with html tags
Summary: "File | Project Group | Advanced Mode" menu displays with html tags
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P2 blocker (vote)
Assignee: Jesse Glick
URL: pbuzek, jrojcek
Keywords: UI
: 103306 (view as bug list)
Depends on:
Blocks: 89337
  Show dependency tree
Reported: 2006-11-30 17:16 UTC by Jaromir Uhrik
Modified: 2007-09-14 12:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

Screenshot attached... (25.50 KB, image/png)
2006-11-30 17:18 UTC, Jaromir Uhrik

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2006-11-30 17:16:58 UTC
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...
Comment 1 Jaromir Uhrik 2006-11-30 17:18:35 UTC
Created attachment 36395 [details]
Screenshot attached...
Comment 2 Jaromir Uhrik 2006-11-30 17:22:17 UTC
Reassign to Jesse, feel free to change the component because I don't know to which component this issue 
Comment 3 Jesse Glick 2006-11-30 21:41:17 UTC
Maybe Aqua does not support HTML menu item labels? I have no idea. Added </html>
1.2. But if that doesn't help, do not reopen; this menu item will not remain in
the NB 6 release anyway.
Comment 4 Jaromir Uhrik 2006-12-01 15:18:53 UTC
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.
Comment 5 Jesse Glick 2006-12-01 16:19:21 UTC
See issue #89337.
Comment 6 Jesse Glick 2006-12-01 16:21:52 UTC
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.
Comment 7 Jaromir Uhrik 2006-12-06 08:56:30 UTC
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
Comment 8 Jesse Glick 2007-05-05 02:14:40 UTC
*** Issue 103306 has been marked as a duplicate of this issue. ***
Comment 9 _ ttran 2007-05-05 10:08:14 UTC
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.
Comment 10 Jesse Glick 2007-05-05 14:28:53 UTC
projects/projectui/src/org/netbeans/modules/project/ui/groups/ 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.
Comment 11 Jaromir Uhrik 2007-09-14 12:57:51 UTC