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 68971

Summary: [50cat] Menu selection rectangle wrongly rendered
Product: platform Reporter: cbulcu <cbulcu>
Component: Window SystemAssignee: David Simonek <dsimonek>
Status: VERIFIED WONTFIX    
Severity: blocker CC: jchalupa
Priority: P4 Keywords: JDK_SPECIFIC
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: This is what I get. Please confirm, if it's the same problem you reported. Thanks.
demo source

Description cbulcu 2005-11-18 21:07:54 UTC
[ JDK VERSION : 1.5.0_05 ]

Open a menu go to a submenu with disabled items. You'll notice that the blue selection rectangle overlaps the submenu.
Comment 1 Jan Chalupa 2005-11-19 11:04:47 UTC
A screenshot would be helpful. I think I'm able to reproduce what you mean.
Might a Swing bug. Don't know for sure. Definitely not a P3, if it's what I
think it is.
Comment 2 Jan Chalupa 2005-11-19 11:06:03 UTC
Created attachment 27062 [details]
This is what I get. Please confirm, if it's the same problem you reported. Thanks.
Comment 3 cbulcu 2005-11-19 12:06:55 UTC
Yes, that's it.
Will it be fixed in the next subversion of 5 or in Mustang? That is my question.
Comment 4 cbulcu 2005-11-19 12:16:36 UTC
it seems that the rect is rerendered after the submenu takes focus
Comment 5 David Simonek 2005-11-22 16:24:40 UTC
Confirmed, it is JDK/Swing bug. I wrote small application to demonstrate.
Comment 6 David Simonek 2005-11-22 16:53:49 UTC
Created attachment 27160 [details]
demo source
Comment 7 David Simonek 2005-11-22 16:58:57 UTC
Entered new JDK bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6354333

Unfortunately nothing more can be done on Netbeans side, closing.
Comment 8 Marian Mirilovic 2006-01-18 15:20:40 UTC
JDK issue still not fixed - verified