Bug 203243 - Improved scrolling support with the mouse wheel
Improved scrolling support with the mouse wheel
Status: VERIFIED FIXED
Product: editor
Classification: Unclassified
Component: Options
7.1
PC All
: P3 (vote)
: 7.1
Assigned To: Milutin Kristofic
issues@editor
: USABILITY
Depends on:
Blocks: 214775 212484
  Show dependency treegraph
 
Reported: 2011-10-06 14:39 UTC by 280Z28
Modified: 2012-06-26 11:42 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 280Z28 2011-10-06 14:39:10 UTC
Enhancement #41807 was implemented for release 7.1. For a number of reasons I believe that request is misguided (based on a design flaw propagated from other applications), and I'm hoping to at a minimum provide an option in the UI to change this feature.

During code editing, the programmer scrolls up and down within the editor much more often than they zoom in/out. In addition, the mouse scroll wheel is frequently used for this behavior. I’ve found that sometimes when I’m scrolling, I’m much farther from my target location than expected so I either have to hit the Page Up/Down key or move the mouse over to the scroll bar. By rebinding Ctrl+MouseWheel to Page Up/Down (one click up scrolls by a page instead of 3 lines and vice versa), it’s extremely easy for me to simply hit the lower left key on the keyboard (no looking) and move quickly to my intended location.

Due to extremely extensive use of this feature (Ctrl+Wheel to scroll) in other applications, the inability to change the zooming behavior will render the NetBeans editor nearly unusable for me.
Comment 1 Vladimir Voskresensky 2011-10-20 15:15:05 UTC
Mila, can we expect an option to turn on/off zoom-with-mouse-wheel functionality?
when I jump (using hyperlink) through code previously I always hold Ctrl pressed and could scroll up/down editor to make new jump. 
Now when I forget to release Ctrl => I change font of my editor - not what I like very much. And so easy to change font back to default value.
Option to turn in on/off should be enough, although I believe that for most developers "off" is preferred default setting.
Comment 2 Vladimir Voskresensky 2011-10-20 18:50:50 UTC
Btw, is it possible to assign other shortcut to this actions?
Ctrl-PLUS/Ctrl-MINUS is what I would expect as default.
Comment 3 Miloslav Metelka 2011-10-21 09:27:23 UTC
I personally support the idea to have special keycodes for mouse (wheel) actions and assign actions normally through options (rather than e.g. making an extra item in options like "Ctrl+Mouse key action" with options "None" "Modify Font Size" and "Move by pages".
Jano what do you think?
Comment 4 280Z28 2011-10-21 14:07:36 UTC
I would absolutely support this (options). It wouldn't work for left/right buttons, but for the middle button and wheel movement it should be possible to incorporate them into the keymap options page. To use, you would simply use the wheel or click the middle button over the Search box or over the Shortcut cell while editing a binding.
Comment 5 Milutin Kristofic 2011-11-08 15:43:26 UTC
You can setup Mouse wheel up and down in special key panel two arrows down when you edit shortcut.

You can setup any action (for example Page Up, Page Down, Beginning of File, File End) or disable shortcut for zoom in/zoom out.

http://hg.netbeans.org/jet-main/rev/13335bd385ed
Comment 6 Quality Engineering 2011-11-09 16:13:02 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/13335bd385ed
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #203243 - Improved scrolling support with the mouse wheel
Comment 7 Jiri Prox 2011-11-11 13:27:05 UTC
Works fine in MacOs and Win7


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