Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2507

Wrong deltaX and deltaY in QWebEngineView non passive wheel events

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.6.0
    • PySide
    • None
    • Linux/X11, macOS

    Description

      When using a touchpad, on linux and MacOS X, you can scroll horizontally, vertically or in any direction with two fingers.

      In QWebEngineView, the wheel event (when not using the passive mode), triggers many events with deltaX and deltaY both equal to zero when the scroll is not perfectly horizontal or vertical.

      It seems like the first wheel event is correct, while the next ones are wrong.

      Attached is a minimal pyside6 + QWebEngineView + javascript example to reproduce the bug and display the deltaX and deltaY.

      Attachments

        1. wheel_event_bug_qt.py
          2 kB
          Christophe Avenel
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            cavenel Christophe Avenel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes