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 27213 - Two separators in java editor's context menu
Summary: Two separators in java editor's context menu
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P4 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-11 14:23 UTC by Jan Lahoda
Modified: 2007-11-05 13:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
A screenshot of the context menu. (43.16 KB, image/png)
2002-09-11 14:24 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2002-09-11 14:23:53 UTC
Build 200209110100, JDK1.4.1-b21, MDI.
Try to invoke a context menu in any java editor.
You will see that between "Delete" and "Add"
actions are two separators, making it look
strange. See attached screenshot.
(The build 200206110100 has just one separator
between "Delete" and "Add".)
Comment 1 Jan Lahoda 2002-09-11 14:24:29 UTC
Created attachment 7379 [details]
A screenshot of the context menu.
Comment 2 Martin Roskanin 2002-09-13 12:38:28 UTC
fixed in [maintrunk]
/cvs/editor/src/org/netbeans/modules/editor/resources/layer.xml,v  <--
 layer.xml
new revision: 1.31; previous revision: 1.30
Comment 3 Jan Lahoda 2002-10-17 08:48:32 UTC
Verified in 200210160100.
Comment 4 Jesse Glick 2002-11-29 14:07:01 UTC
Note that for context menus of nodes in the explorer, the menu
creation code simply discards sequential nulls (separators). This
seems useful, as sometimes there are separators with nothing in the
middle, due to module uninstallation etc.
Comment 5 Jaroslav Tulach 2002-12-03 09:53:38 UTC
Hi. This issue is marked as 3.4.1_CANDIDATE. It means that it should be
integrated into release341 one branch. The plan at
http://www.netbeans.org/devhome/docs/releases/34/index.html expected beta1 to be
produced on Dec01. That did not happen due to a lot of outstanding not
integrated candidates like this one. 

Would it be possible to spend few minutes by backporting this fix? Thank you in
advance.
Comment 6 Martin Roskanin 2002-12-03 14:45:24 UTC
integrated into [release341]

/cvs/editor/src/org/netbeans/modules/editor/resources/layer.xml,v  <--
 layer.xml
new revision: 1.29.10.1; previous revision: 1.29
Comment 7 Quality Engineering 2003-06-30 18:07:39 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.