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

Karl Tauber commented on NETBEANS-3870:
---------------------------------------

Finally I'm able to reproduce this and also found the reason for the 
inconsistent behavior.

Some views (e.g. Output and Debugging) implement wheel scrolling themselves, 
but do not use precise rotation values.

In the editors there is a check for the "unprecise" rotation value (which is 
often zero when using touchpad) and if it is zero then the original wheel 
listeners (e.g. from FlatLaf) are not invoked.

A PR is coming...

FYI don't have a Surface Book here. But I'm using a MacBookPro running Win 10 
in BootCamp with precision Touchpad driver from here: 
https://github.com/imbushuo/mac-precision-touchpad

> Smooth scrolling for FlatLaF inside the editor is hacky/lacky
> -------------------------------------------------------------
>
>                 Key: NETBEANS-3870
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3870
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: FlatLaf, ide - UI
>    Affects Versions: 11.3
>         Environment: Product Version: Apache NetBeans IDE 11.3-beta2
> Updates: Updates available to version NetBeans 8.2 Patch 2
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.3-beta2
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.3-beta2
>            Reporter: Christian Lenz
>            Assignee: Karl Tauber
>            Priority: Major
>
> I use the latest 11.3 beta 2 with the new Flat LaF. The smooth scrolling 
> works perfect inside of those UI elements:
> - Navigator
> - Options (tested with Editor and Team tab)
> - Project View
> - Files View 
> - Services View
> But the smooth scrolling is hacky/lacky in the editor. I use Windows 10 64 
> bit with a Surface Book and the touchpad on it, no extra mouse.
> We can make a skype session or I will try to make a little video, a 
> screencapture (gif) will not work well here. I already commented about the 
> problem here: https://issues.apache.org/jira/browse/NETBEANS-49. The problem 
> happens with the implementation of [~ebakke] for the default NetBeans LaF.
> Please let me know, what you need from my site :)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to