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 198885 - Support for Back & Forward mouse buttons
Summary: Support for Back & Forward mouse buttons
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal with 13 votes (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
: 255886 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-25 15:34 UTC by pekarna
Modified: 2019-07-18 13:05 UTC (History)
8 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


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
Comment 9 Sir_Edward_Snowden 2019-07-18 13:05:02 UTC
*** Bug 255886 has been marked as a duplicate of this bug. ***