Uploaded image for project: 'Apache Guacamole - Contributions'
  1. Apache Guacamole - Contributions
  2. GUAC-374

Properly handle "wheel" event

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: guacamole-common-js
    • Labels:
      None

      Description

      DOM level 3 defines the "wheel" event (http://www.w3.org/TR/DOM-Level-3-Events/), which is implemented in Chrome and others and defines the scroll distance AND units for each scroll event. This is important for devices with smooth scrolling (such as touchpads and certain mice), as the distance the page is scrolled varies by the size of the scroll gesture.

      As is, Guacamole determines scroll direction by the sign of the reported distance, but ignores the magnitude, assuming it is enough to warrant a mouse click of the corresponding mouse scroll button. This can result in the screen scrolling much faster than expected.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mike.jumper Michael Jumper
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: