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

Problems with ScrollEvent usage in controls

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.0.2
    • Fix Version/s: fx2.0.2
    • Component/s: javafx
    • Labels:

      Description

      There are following problems:

      ScrollPane:
          scrolling above scrollbar behaves differently from scrolling above the content

      ScrollBar:
          horizontal scroll events move vertical scrollbar
          currently it moves the scrollbar about the number of pixels reported by the event, which is wrong, the values are meant for content. This way it can scroll many pages per each mouse wheel notch.

      VirtualFlow:
          scrolling above scrollbar behaves differently from scrolling above the content
          line scrolling is weird. It uses textDeltaX without looking at its units. The units will probably be "characters", but it uses the value as "cells", which is something totally different (many times bigger). Also interpreting "3 lines" for horizontal scrolling doesn't make much sense.
          horizontal scroll events move vertical scrollbar

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psafrata Pavel Šafrata
                Reporter:
                psafrata Pavel Šafrata
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: