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.
Win XP, Classic L&F, JDK 1.4.2. Popup menu on XML editor. See attached screenshot
Created attachment 13397 [details] screenshot
It appears that the Tools menu item and others have some extra indentation space. We were able to reproduce on W2K as well but not on Linux RH9. The problem seems to be global - e.g. the popup menu on explorer has the same problem. Reassigning to ui for further evaluation.
Mila, please can you let me know what kind of evaluation from HIE is expected in this case? I think this is a pure implementation problem and this issue should be reassigned to appropriate developer. Who is responsible for this menu? Someone in Core?
I wanted to be sure that this is not caused by any ui-related suggestion from ui team that would be just partially implemented. From your response it looks like it's a pure regression. Reassigning to core/ui.
Well, IMO this is not the bug, this is feature of Windows-like LF. Swing's win LF is trying to emulate behaviour of native LF. Try to run several native win apps and try to run SwingSet - you'll see space and alignment everywhere.
I'll politely disagree here. This is a clear bug for the look& feel adherance to what is the operating system standard.
Please see my evaluation in 39531. Extra menu space *is* operating system standard at least on my XP machine.
Please try to reread the original bugreport and check the attached image again. The bugreport is not about how wide the gap is, but that it is by several pixels different for different menu items, making them nonaligned horizontally (that's why I drew the vertical black line in the image)
Ahha. Yes, now I even see first screenshot :-) OK, I've got it, finally. I'm sorry.
*** Issue 43433 has been marked as a duplicate of this issue. ***
Created attachment 17892 [details] Bug fix
dafe, review my bugfix pls
OK, reviewed, go ahead. I assume that you tested on both Metal and Win LF. Btw did you find the reason why code shown in your patch was written?
fixed in org.openide.awt.Actions the guilty lines of code have already been in the initial version.
It's almost done, but disabled items are now shifted 1 pixel to the left. Windows XP, default L&F, JDK 1.5.0.
this a bug in jdk. you can verify this by running the swingset demo in windows l&f. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6176159
closed