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: | The platform needs an option to make all the menus (menubar and popus) heavyweight. | ||
---|---|---|---|
Product: | platform | Reporter: | michbarsinai <michbarsinai> |
Component: | -- Other -- | Assignee: | Stanislav Aubrecht <saubrecht> |
Status: | NEW --- | ||
Severity: | normal | CC: | anebuzelsky, neugens |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: |
LIghtweight menu screencap
Heavyweight popup screencap Screenshot of how it looks in Fedora 18 |
Description
michbarsinai
2010-08-11 06:53:33 UTC
Created attachment 101298 [details]
LIghtweight menu screencap
Created attachment 101299 [details]
Heavyweight popup screencap
A similar bug has been fixed recently in OpenJDK, in fact reverting all menues to be heavyweight by default, but NetBeans still uses lightweight menues. Is it possible to have a followup to this bug? Here is how it looks for me: http://ladybug-studio.com/~neugens/laf/netbeans/adwaita_based_theme_bug.png Note that this is an official theme (I just modified it slightly). So NetBeans is unusable in Fedora with the default theme. I mark this as a defect since it's a bug, not a RFE. Created attachment 131730 [details]
Screenshot of how it looks in Fedora 18
Screenshot of how it looks in Fedora 18
Missing borders in dropdown menus is a JDK bug, see #126165 If you need heavy weight menus then what's wrong with adding JPopupMenu.setDefaultLightWeightPopupEnabled(false) into one of your modules or creating a new module with that call? (In reply to comment #7) > Missing borders in dropdown menus is a JDK bug, see #126165 > > If you need heavy weight menus then what's wrong with adding > JPopupMenu.setDefaultLightWeightPopupEnabled(false) into one of your modules or > creating a new module with that call? Well, there is wrong that for use NetBeans to develop Java code I need to first create a new module (and hence learn how to do that) just to set a flag that should rather be the default. Well, this really seems rather backward to me, ymmv. I'm sure it's a JDK bug, btw, but it effect NetBeans usability, since there is an easy fix, I think NetBeans should provide it, again ymmv. I know it's not me to decide if this is a bug or not, but you are shipping netbeans with the GTK laf as default, and this doesn't work. If it's a JDK bug, you should at least make sure NetBeans defaults to some other laf. Anyway, I went ahead and created a project to workaround this as it was suggested in a previous comment. It's very sad that the NetBeans developers themselves don't care as much about their own product, btw. https://bitbucket.org/neugens/netbeans-gtk-laf-menu-fix setLightWeightPopupEnabled(false) has no effect on popup menu borders when using JDK 1.7 and GTK l&f (In reply to neugens from comment #9) > I know it's not me to decide if this is a bug or not, but you are shipping > netbeans with the GTK laf as default, and this doesn't work. > > If it's a JDK bug, you should at least make sure NetBeans defaults to some > other laf. > > Anyway, I went ahead and created a project to workaround this as it was > suggested in a previous comment. It's very sad that the NetBeans developers > themselves don't care as much about their own product, btw. > > https://bitbucket.org/neugens/netbeans-gtk-laf-menu-fix This "fix" works fine for me on every machine - thanks. |