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 86806 - Keymap options panel allows user to set unusable keybindings
Summary: Keymap options panel allows user to set unusable keybindings
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Max Sauer
URL:
Keywords:
: 77098 (view as bug list)
Depends on:
Blocks: 152193
  Show dependency tree
 
Reported: 2006-10-09 20:54 UTC by darogers
Modified: 2009-02-19 20:45 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 darogers 2006-10-09 20:54:27 UTC
Short description:

Binding a combination such as Ctrl-J to an action is not flagged as an error,
even though there are existing multi-key shortcuts that start with Ctrl-J.

Long description:

The UI currently warns the user when attempting to assign a key combination that
is currently in use, but only when the conflict is with a simple key binding. 
The user gets no warning when it is a multi-key binding.  This is very
frustrating for the user since it appears that nothing happens when they press
the selected key.

Reproduction:
Using the netbeans profile, add a new keybinding to the insertion-point-up
action.  Click OK and edit an existing file.  Press Ctrl-J.  Nothing seems to
happen.  You have to be really alert to see the "Ctrl+J" on the left side of the
status bar.

The problem is that the netbeans profile has an existing keybinding for Ctrl+J,
D to macro-debug-var.  This makes it even harder for the user to find, since
macro keybindings are set in a different panel.

The best fix for this would be to show the user all the keys that conflict with
the chosen binding and allow the user to override all of them if desired.

But at the very least there should be a warning as to what the situation is.
Comment 1 rmatous 2007-02-16 14:50:13 UTC
keymap panel -> editor/options
Comment 2 Vitezslav Stejskal 2007-02-16 20:41:04 UTC
Reproduced.
Comment 3 Vitezslav Stejskal 2007-04-11 22:38:04 UTC
*** Issue 77098 has been marked as a duplicate of this issue. ***
Comment 4 novakm 2007-10-31 17:23:48 UTC
Still valid in latest build of 6.0
Comment 5 Jiri Prox 2008-04-11 00:44:07 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 6 Max Sauer 2008-11-21 11:08:29 UTC
Fixed.
---
67aaded1b120
Comment 7 Quality Engineering 2008-11-22 04:47:22 UTC
Integrated into 'main-golden', will be available in build *200811220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3d387529a30e
User: Max Sauer <msauer@netbeans.org>
Log: #86806: Keymap options panel allows user to set unusable keybindings