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.
Summary: | Separators aren't visible in menus if you run JDK6.0 and GTK | ||
---|---|---|---|
Product: | platform | Reporter: | Marian Mirilovic <mmirilovic> |
Component: | Window System | Assignee: | David Simonek <dsimonek> |
Status: | VERIFIED WONTFIX | ||
Severity: | blocker | CC: | mkrauskopf |
Priority: | P3 | Keywords: | GTK |
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Linux | ||
URL: | http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6346746 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
screenshot of the menu JDK 5.0 GTK
screenshot of the menu JDK 6.0 GTK working patch |
Description
Marian Mirilovic
2005-06-29 14:38:36 UTC
Created attachment 22950 [details]
screenshot of the menu JDK 5.0 GTK
Created attachment 22951 [details]
screenshot of the menu JDK 6.0 GTK
One of the most visible GTK problem (and 6.0 approaching beta). So far it seems like regression in 6.0-ea - I haven't found any yet. JMenu.addSeparator() and/or JPopupMenu.addSeparator() doesn't work (unrelated to NB). However may be workarounded by replacing "addSeparator()" with "add(new JSeparator())". Also maybe there are some supposed differences between add(new JSeparator()) and addSeparator() which I'm not aware of. If yes, please enlighten me. Otherwise issue against JDK should be filed. Should be solved for NB 5.0, I believe. Attaching working patch. Created attachment 26662 [details]
working patch
Filled JDK bug 6346746. But as it can be easily workaround (the attached patch), leaving issue open. JDK bug was evaluated and will be delivered in Mustang. So I'm suggesting WONTFIX. For those who can't live with it could temporarily workaround with the attached patch as I did ;) Thanks Martin for your work, I agree with your conclusion. verified JDK bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6346746 |