Pivot
  1. Pivot
  2. PIVOT-664

Mouse wheel scrolls ScrollPane AND web page in which the applet is contained

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 2.0
    • Component/s: wtk
    • Labels:
      None

      Description

      When I use the mouse wheel in the ScrollPane tutorial at http://pivot.apache.org/tutorials/scroll-panes.html both the scroll pane AND the web page which contains the applet is scrolled. This behaviour renders the mouse wheel almost useless because the applet is scrolling "away". I verified this with Google Chrome and Mozilla Firefox on Windows Vista.

        Activity

        Hide
        Greg Brown added a comment -

        Wow, I am amazed that this has not been caught before. Although the ScrollPane component was doing the right thing by consuming the mouse wheel event, the AWT display host component was not, which allowed the scroll event to propagate up to the browser. It is now fixed - thanks for catching this!

        Show
        Greg Brown added a comment - Wow, I am amazed that this has not been caught before. Although the ScrollPane component was doing the right thing by consuming the mouse wheel event, the AWT display host component was not, which allowed the scroll event to propagate up to the browser. It is now fixed - thanks for catching this!

          People

          • Assignee:
            Unassigned
            Reporter:
            Christian Schlichtherle
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development