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 222672 - Unable to change mouse wheel bindings
Summary: Unable to change mouse wheel bindings
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-23 16:36 UTC by 280Z28
Modified: 2012-11-29 02:33 UTC (History)
1 user (show)

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 280Z28 2012-11-23 16:36:15 UTC
I am no longer able to apply key bindings for Ctrl+MOUSE_WHEEL_UP and Ctrl+MOUSE_WHEEL_DOWN through the key map options panel in a7a0e8178e1be0c6aa34102fc19888c8330e534e.

After assigning the Ctrl+MOUSE_WHEEL_UP or Ctrl+MOUSE_WHEEL_DOWN binding to an action, I click OK to apply the options. After this, the bindings do not work, and if I go right back to the key map options the customized bindings do not appear.
Comment 1 Svata Dedic 2012-11-27 06:36:58 UTC
There are several bugs:

a/ if the special key popup is visible, then OK button is hit by mouse, the input box changes are cancelled. To work around this issue, hit ENTER to confirm the changed shortcut prior to closing the dialog.

b/ global actions persist OK, but editor actions do not

c/ the MOUSEWHEEL seems to be ONLY handled at the editor level, if mousewheel shortcuts are assigned to global actions (e.g. Save As.., silly example, I know), it will not work.

I'll try to fix a + b; fixing (c) will be more tough I think.
Comment 2 Svata Dedic 2012-11-27 16:28:20 UTC
The (c) is currently out of scope; as Mito (author of mousewheel support in editor) said, it was never intended to support mouse gestures in shortcuts in general. I filed enhancement issue #222848 for this.
Comment 3 Svata Dedic 2012-11-27 16:31:16 UTC
Changeset: 9e3e7bb482fc
Author:    Svata Dedic <sdedic@netbeans.org>
Date:      2012-11-27 17:31
Message:   Fixed storage of shortcuts for globally available actions. Fixed focus mgmt in keymap table.
Comment 4 Quality Engineering 2012-11-29 02:33:47 UTC
Integrated into 'main-golden', will be available in build *201211290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9e3e7bb482fc
User: Svata Dedic <sdedic@netbeans.org>
Log: Issue #222672 - Unable to change mouse wheel bindings: fixed
Fixed storage of shortcuts for globally available actions. Fixed focus mgmt in keymap table.