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 39593

Summary: Missing information about used shortcuts while adding shortcut in global KeyBindings
Product: editor Reporter: pfelenda <pfelenda>
Component: Key bindingsAssignee: issues@editor <issues>
Severity: blocker CC: rstrobl
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 58412    
Bug Blocks:    

Description pfelenda 2004-02-04 12:14:14 UTC
beta 3.6 build [200402030140]

I tried add shortcut to global keybindings
(Tools|Options->Editing|Editor Settings->Global
Key Bindings)
but I added shortcut used in local Java Key
Bindings. The shortcut was assigned without
conflicts, but didn't work. It was called action
from Java Key Bindings.

I observed 
1) that the Global Key Bindings dialog checks
added shortcuts and if is used in this (Global)
dialog then print the red colored info about
2) the local Key Bindings e.g. for Java Editor
checks both keybindings (local and global).

The bahaviour should be the same for both dialogs.
There should be checked all shortcuts:
1) the system shorcuts (Tools|Key Bindings),
2) Global Key Bindings
3) local keybindigs (for Java, JSP ...) mentioned
The bahavior that the local shortcuts rewrite the
global is good, but user should know the
information about all conflicts. There is a lot of
shorcuts in IDE and user doesn't know all the key
Comment 1 Miloslav Metelka 2004-02-10 14:25:16 UTC
The 3) is likely a problem. It may be problem from performance point
of view to read all the bindings for _all_ the mime types.
Another problem are conflicts with IDE-level shortcuts. It would be
nice  to unify shortcuts but the editor requires multi-key shortcuts
which IDE  does not support yet.
Thus assigning to future.
Comment 2 Martin Roskanin 2004-10-26 16:40:01 UTC
*** Issue 50004 has been marked as a duplicate of this issue. ***
Comment 3 Roman Strobl 2004-12-07 13:02:26 UTC
Changing subcomponent to key bindings.
Comment 4 Martin Roskanin 2005-03-30 07:10:18 UTC
*** Issue 57156 has been marked as a duplicate of this issue. ***
Comment 5 Martin Roskanin 2005-06-30 10:06:01 UTC
*** Issue 59529 has been marked as a duplicate of this issue. ***
Comment 6 Martin Roskanin 2005-06-30 10:07:11 UTC
Also please check the problem mentioned at issue #59529
If you bound IDE global keybinding (via Tools/Keyboard Shortcuts), there is no
check for the keystroke already used in editor specific shortcuts
(Tools/Options/Editing/Editor Settings/ <and its subnodes> / keybindings/)
(and vice versa)
AFAIK, both keybindings dialogs sholud be unnified in the near future
Comment 7 Martin Roskanin 2005-11-07 14:42:41 UTC
keybindings are no longer mime type sensitive...