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 134218 - Add support for back and forward buttons found on some windows mice and keyboards
Summary: Add support for back and forward buttons found on some windows mice and keybo...
Status: RESOLVED DUPLICATE of bug 222848
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker with 2 votes (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-30 07:17 UTC by robin_alden
Modified: 2012-12-11 15:26 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description robin_alden 2008-04-30 07:17:04 UTC
This might end up as several enhancements when examined in more detail.

1. It would be nice if the back and forward buttons found on Wwindows PC's mice/keyboards could be allocated as a 
particular key map.

2. The back and forward buttons found at the top of each editor window work in strange ways that make little sense. I 
suggest they should work like a browsers back/forward buttons by going back/forward to the document previously 
displayed, in order that they were displayed. So if I have documents open and click on them from left to right and 
then use the back button 5 times they should display from right to left. Clicking on forward 5 times would display 
them again from left to right. I understand they currently follow the ctrl click links I made so perhaps the default 
could be to do that and by ctrl clicking they would go back forward as I have discribed.

3. Default the key mapping of the editor windows back/forward buttons to the PC's back forward buttons found on the 
mouse/keyboard.

4. When I split my IDE into multipule editor windows, moving a editor window from some section to another should 
display the previously accessed editor window in the old section. As though I had clicked the back button as per my 
description of how the back button might work. At the moment it selects the documen at the end tab. It makes no sense 
and this is very frustrating.

5. Add a list of open documents to the Window menu, perhaps as a sub menu and keep them sorted in the order they were 
last accessed (ie clicked on). This is effectivly the order the back/forward buttons work in.

These ideas are based around how I use the MS Visual Studio Enviroment (Heavean forbid). Although not directly 
implemented in VS the window menu lists the previous windows. I use the <ALT> W 2 key sequence to navigate 
back/forwards through the documents in the editor to great effect.
Comment 1 Vitezslav Stejskal 2008-04-30 10:27:42 UTC
Thanks for the ideas. #2 and #4 are covered by issue #123343 and I added you comments there. #1 and #3 is what this
issue is about and I'm moving it under the 'Key bindings' section. #5 is IMO a request for window system and I filed
issue #134237 for it.
Comment 2 Vitezslav Stejskal 2008-04-30 10:31:19 UTC
As for #1 and #3 the question is how these are mapped to KeyEvent in JDK. If the buttons are mapped to some virtual key
constants than you should be able to add them in Tools-Options -> Keymap. If they are not I am not sure how much we can
do in Netbeans.
Comment 3 Svata Dedic 2012-12-11 15:26:25 UTC

*** This bug has been marked as a duplicate of bug 222848 ***