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 111740 - MENU: menu item inserted throught contextual menu has black foreground
Summary: MENU: menu item inserted throught contextual menu has black foreground
Status: RESOLVED WONTFIX
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-02 14:01 UTC by Jana Maleckova
Modified: 2009-12-21 06:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2007-08-02 14:01:03 UTC
Product Version: NetBeans IDE Dev (Build 070802) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b03 System: Windows
XP version 5.1 running on x86; Cp1252; en_GB (nb)

Description:
============
menu components inserted directly in design has gray foreground
but if these components are inserted through contextual menu invoked in inspector (add from palette) then all menu
components have black foreground without any editing.
Comment 1 Jana Maleckova 2007-08-02 14:42:15 UTC
exact steps how to reproduce it:
insert jMenuBar - doesn't matter which way you use
insert other menu components only through contextual menu => foreground of menu component is black

foreground of newly added menu components will be black till some menu component isn't placed using mouse - then
foreground is grey in every case and it doesn't matter which way for placing you use - means, adding from contextual
menu or using mouse.
Comment 2 Joshua Marinacci 2007-08-13 22:11:53 UTC
I cannot reproduce this. It was probably fixed by http://www.netbeans.org/issues/show_bug.cgi?id=108860
Comment 3 Jana Maleckova 2007-08-20 16:05:06 UTC
no, this issue always remains, try to reproduce it in way how it is described in the second comment
Comment 4 Joshua Marinacci 2007-09-10 19:50:17 UTC
Okay. I understand the problem now. It happens when you add menu items purely through the context menu without having ever drag and dropped a menu 
item or opened a menu. This is because the menu layer is never loaded, so it hasn't attached a listener on the form yet.
Comment 5 Joshua Marinacci 2007-09-10 19:52:50 UTC
I don't think there is a way to fix this without seriously changing the way the menu layer is started and stopped.  Since this is a very minor visual defect I'm 
going to lower it to a P4 and set it for the future.
Comment 6 Quality Engineering 2009-12-21 06:09:11 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team