Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8126516

ScrollPane with large content using mouse wheel is useless

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 7u6
    • 7u6
    • javafx
    • Windows and Mac

      If you have a ScrollPane with a large amount of content then each click(notch) on the scroll wheel on the mouse is many screens worth of content. It is much worse on Windows than Mac but is bad on both. If you look at the attached test case which just has 100,000 lines of text in a single Text node as child of ScrollPane. On Windows one click of mouse wheel is more than 10,000 lines scrolled. On Mac it is only 250 lines but as only 25 lines fit in the window that is still 10 screens worth.

        1. rt23256.patch
          2 kB
          Mick Fleming
        2. ScrollPaneTest.java
          0.7 kB
          Jasper Potts

            miflemi Mick Fleming
            jasper Jasper Potts (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: