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

Usage of PinchHandler/PinchArea + DragHandler Results in Image/Object Jumps

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.3
    • None
    • Android

    Description

      When using both PinchHandler/PinchArea and DragHandler in a Rectangle/Image/etc to enable pinch-zoom and drag functionality, the image or object occasionally jumps unexpectedly. This issue disrupts the smooth interaction expected for image/object manipulation.

      Tested and observed the bug occurring in both Android 10 and Android 14 (video included in this report qtBug1.mp4).

      Code to reproduce (also happens with Image):

       

      import QtQuick
      
      Window {
        width: 640
        height: 480
        visible: true
      
        Rectangle {
          id: imagePreview
      
          height: parent.height / 2
          width: height
          color: "blue"
      
          PinchHandler {
            minimumRotation: -180
            maximumRotation: 180
            minimumScale: 0.5
            maximumScale: 10
          }
      
          DragHandler { }
        }
      } 

       

      Attachments

        1. qtBug1.mp4
          1.06 MB
          Vitor Vieira

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              vitorvieira Vitor Vieira
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes