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

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

XMLWordPrintable

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

      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 { }
        }
      } 

       

        1. qtBug1.mp4
          1.06 MB
          Vitor Vieira
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes