Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-17536

qguistatemachine::cloneEvent doesn't clone GraphicsSceneWheel Events correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.4
    • 4.7.1
    • Core: State Machine
    • None
    • 95a9ab2d0e94c735ac813c809a4fe98dd466cc64

    Description

      QGuiStateMachine doesn't clone the QGraphicsSceneWheelEvent correctly.

      The wheel delta is always zero when using QGraphicsSceneWheelEvent with in a custom statemachine transition.

      adding
      we2->setDelta(we->delta());
      to line 407 in qguistatemachine.cpp should fix the problem.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dettman Dean Dettman (Inactive)
            dettman Dean Dettman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes