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

Wheel Event cascade and affect multiple controls

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.3.2
    • Fix Version/s: 5.8
    • Component/s: Quick: Controls 1
    • Labels:
      None
    • Environment:
      Qt 5.3.2/5.3.1 show the problem,
      Qt.5.3.0 does not
    • Commits:
      fccae8499a4767cd0a012fa77988806a0c0f0f0e

      Description

      You can see the thread into the forum:
      http://qt-project.org/forums/viewthread/48228/#197447

      The problem is when using scroll wheel on a slider or a scrollview, the wheel event now propagate to element below affecting both with a single movement. This become problematic if multiple ScrollView are inside each other or having widget that move position on scroll wheel event.

      There's seem to be no way to controls this (wheel event is not pass with the wheelevent just the delta mouvement) and we cannot control the wanted behavior for controls. It's nice to be able to cascade event between widgets, but it would be nice to have control if the event can cascade through some widget or not. Default behavior should be to accept the wheel event and toggle to activate the cascading of that event.

      This currently holding us to upgrade our Qt distro (we are sticking with 5.3.0 for now) and cause many problems with our 3D viewport and overlay 2D widgets.

        Attachments

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

          Activity

            People

            • Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              jeromegodbout Jerome Godbout
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes