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

Drag.imageSource Only Works On Second try

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        1. QTBUG-115491.zip
          2 kB
        2. Solution.zip
          2 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: