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 136173 - Two action with the same name
Summary: Two action with the same name
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
: 140437 (view as bug list)
Depends on: 123467
Blocks: 152193
  Show dependency tree
 
Reported: 2008-05-30 14:52 UTC by Jiri Prox
Modified: 2009-02-19 20:45 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (63.18 KB, image/png)
2008-09-03 21:30 UTC, Petr Dvorak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2008-05-30 14:52:48 UTC
In the Options -> KeyMap, there are two pairs of actions with the same name and the same shortcuts

EditorAction[Navigate to Next Occurrence:gsf-next-marked-occurrence]
EditorAction[Navigate to Next Occurrence:java-next-marked-occurrence]

One action comes from java/editor module, the second one from gsf.
I suggest either change the name or merger the actions in one. 
Two same actions look strange and can be confusing for the user
Comment 1 Jiri Prox 2008-05-30 14:53:50 UTC
Adding Tor to CC as a initial owner for ruby/gsf component
Comment 2 Torbjorn Norbye 2008-05-30 16:10:06 UTC
These actions won't be defined on the same mimetypes; java-next-marked-occurrence will occur in Java files, and
gsf-next-marked-occurrence will occur in GSF-derived file types.

Perhaps we can just change the action name to "next-marked-occurrence" in both Java and GSF?

It would be even better if we could define this in the base editor, along with a keybinding, so we don't have to keep
registering this across file types (as I understand this action is also available in the C/C++ support with its own
implementation as well).
Comment 3 Jiri Prox 2008-07-28 12:46:28 UTC
*** Issue 140437 has been marked as a duplicate of this issue. ***
Comment 4 Petr Dvorak 2008-09-03 21:29:20 UTC
See also Tools>Options>Keymaps, Project node...

(If I wasn't used to this, I would be pretty confused...)
Comment 5 Petr Dvorak 2008-09-03 21:30:13 UTC
Created attachment 68983 [details]
screenshot
Comment 6 Jan Lahoda 2008-09-08 09:58:56 UTC
joshis: the duplicated project related actions are likely unrelated to the original report - please file a new report
against the projects infrastructure.
Comment 7 Miloslav Metelka 2008-11-24 11:09:07 UTC
The new look of Options->Keymap does not exhibit the original problem so closing as fixed.