Jiří Kučera created NETBEANS-2540:
-------------------------------------

             Summary: Mouse scroll in Maven effective POM view jumps by 
thousands of lines
                 Key: NETBEANS-2540
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2540
             Project: NetBeans
          Issue Type: Bug
          Components: projects - Maven
    Affects Versions: 11.0, 10.0
         Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
incubator-netbeans-release-404-on-20190319)
Java: 12.0.1; Java HotSpot(TM) 64-Bit Server VM 12.0.1+12
Runtime: Java(TM) SE Runtime Environment 12.0.1+12
System: Windows 10 version 10.0 running on amd64; Cp1250; cs_CZ (nb)
User directory: D:\.n2
Cache directory: D:\.c2

Product Version: Apache NetBeans IDE 10.0 (Build 
incubator-netbeans-release-380-on-20181217)
Java: 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM 25.212-b10
Runtime: Java(TM) SE Runtime Environment 1.8.0_212-b10
System: Windows 10 version 10.0 running on amd64; Cp1250; cs_CZ (nb)
User directory: D:\.n
Cache directory: D:\.c

            Reporter: Jiří Kučera


When a POM file of a Maven project is opened in the editor and the Effective 
View is selected, then mouse scroll jumps by thousands of lines instead of 
usual small amount (e.g. 1 or 3 lines) configured in OS. This is quite annoying 
since it makes mouse scroll completely unusable.

It looks like the mouse scroll doesn't jump by a constant number of lines, but 
the whole effective POM text is always divided to ca. 3 and 1/3 parts to which 
the scoll jumps. For example, when I have an effective POM 8280 lines long and 
its very beginning (the first line) is displayed, then the mouse scroll jumps 
to pages beginning with lines 2494, 4987, 7480 and 8223.

Steps to reproduce:
1) Open a Maven project (a more complex project is better to see the bug).
2) Open the pom.xml in editor (from the "Project Files" folder of the opened 
project).
3) Click the "Effective" button in the above of the editor window.
4) Scroll by mouse.
Expected: The text scrolls by standard small constant amount of lines (usually 
configured in OS).
Wrong: The text scrolls by long pages (the longer the text, the longer the 
page).



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

---------------------------------------------------------------------
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