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

Drag.imageSource Only Works On Second try

XMLWordPrintable

    • All
    • a3dea1b4f (dev), 85f6ffc9b (6.6), 9d1e8deef (tqtc/lts-6.5), b09d82e6f (tqtc/lts-6.2)

      It seems that there is a mistake in the documentation : https://doc.qt.io/qt-6/qml-qtquick-drag.html#imageSource-attached-prop
      the drag action only works on the second try

      steps to repreduce the issiue:
      1) replace the (source:path_to_your_image.jpg) with your image path
      2)build and run the application
      3)try to drug the picture

      and also i have attached an updated code that fix the issue

        1. QTBUG-115491.zip
          2 kB
          Chakib Boutaghane
        2. Solution.zip
          2 kB
          Chakib Boutaghane
        For Gerrit Dashboard: QTBUG-115491
        # Subject Branch Project Status CR V

            srutledg Shawn Rutledge
            chakib Chakib Boutaghane
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: