[ 
https://issues.apache.org/jira/browse/NETBEANS-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16720358#comment-16720358
 ] 

Eirik Bakke commented on NETBEANS-49:
-------------------------------------

OK, let's discuss Approach 2, then.

The main requirement is to override BasicScrollPaneUI's 
createMouseWheelListener. For LAFs that add their own ScrollPaneUI class that 
extends from BasicScrollPaneUI, this must be done by extending from said 
LAF-specific class instead of directly from BasicScrollPaneUI (so that we 
retain whatever other functionality the LAF has added to BasicScrollPaneUI).

I had a quick look in https://github.com/Revivius/nb-darcula and could not 
actually see the ScrollPaneUI being overridden anywhere. Maybe I'm wrong. But 
in any case the existing patch does not seem to work on Darcula on Windows 10. 
Some investigation would be needed here.

Also be aware that if the code in the patch ends up being copied to Darcula, it 
will have to be updated in two places if we later make other improvements (e.g. 
to fix the Surface Book problems you mentioned earlier).

> Please add smooth scrolling 
> ----------------------------
>
>                 Key: NETBEANS-49
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-49
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: platform - Window System
>            Reporter: Christian Lenz
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 10.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Inside the editor, when I scroll with my touchpad to the bottom, it jumps 9 
> lines to the next, this is a lot. I don't like such gappings I would like to 
> have a smooth stepless scrolling, like in chrome or other windows native 
> apps. Please add this for horizontal and vertical scrolling, it will be much 
> better. Not only in editors, it should be available everywhere, where we have 
> scrollbars.
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to