Bug 198885 - Support for Back & Forward mouse buttons
Support for Back & Forward mouse buttons
Status: NEW
Product: editor
Classification: Unclassified
Component: Navigation
7.4
All All
: P3 with 12 votes (vote)
: TBD
Assigned To: Milutin Kristofic
issues@editor
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-25 15:34 UTC by pekarna
Modified: 2016-02-22 11:18 UTC (History)
7 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments
Proposed patch (11.29 KB, patch)
2014-08-25 06:06 UTC, alexhenrie
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description pekarna 2011-05-25 15:34:15 UTC
Currently, in the code editor,
the back and fwd mouse buttons behave like if right button was clicked.
It would be nice to map it to "Go back to ..." and "Go forward to ..." actions
(the 2nd and 3rd button in the editor view).

Possibly it could be mapped to "Go to prev/next occurence in search" and other such prev/next tasks when ctrl/shift/... are held.
Comment 1 Svata Dedic 2012-02-10 16:57:27 UTC
Support available starting from JDK 1.7. 

Note the current keymap does not allow to record mouse gestures - only key bindings are supported.
Comment 2 bronius 2012-05-15 15:35:15 UTC
+1 would like to use mouse/trackpad "back" and "forward" functions to invoke Navigate > Back and Navigator > Forward cursor location history navigation.
Comment 3 Svata Dedic 2012-05-15 15:45:27 UTC
Not sure, which component this belongs to; partially a gesture support is needed in 'key bindings' infrastructure - currently all mouse gestures are hardcoded and cannot be changed. Adding myself to CC:
Comment 4 atr_23 2012-06-07 22:15:54 UTC
I extensively navigate this way in eclipse, it would be great to have this feature in NetBeans!
Comment 5 Egor Ushakov 2014-01-21 11:21:50 UTC
Really strange that this still does not work. Works like a charm in Eclipse and Idea.
Comment 6 Egor Ushakov 2014-01-22 18:58:30 UTC
Maybe it is possible to hardcode mouse back and forward to editor back and forward? Without remapping support for now?
Comment 7 alexhenrie 2014-08-25 06:06:20 UTC
Created attachment 148869 [details]
Proposed patch

I've written a patch to make the forward and back mouse buttons work, but it will require a bug fix in the underlying JRE:
http://mail.openjdk.java.net/pipermail/jdk9-dev/2014-August/001245.html
Comment 8 janinko 2016-02-22 11:18:38 UTC
+1, for Netbeans 8


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo