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

When dragging an object from a webpage that is set up as a draggable object, then Qt should see the extra mime types if any are provided

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.9.0
    • WebEngine
    • platform-independent (originally reported: macOS 10.12)

    Description

      When dragging an object from a webpage that is set up as a draggable object, then Qt should see the extra mime types if any are provided.

      For example, if you drag the image in the box from https://www.w3schools.com/html/html5_draganddrop.asp and drop it into the dropsite example (in qtbase/examples/widgets/draganddrop) then it should be indicating one of the mime types available as being an image. But it only lists text, html and uri-list. Comparing to dragging from Chrome into the dropsite example the image is available as data.

      There are other cases where you can drag something providing JSON data too, but again Qt only gets a QDrag that provides text, html, and uri-list. The custom data should also be available.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-61409
          # Subject Branch Project Status CR V

          Activity

            People

              jbornema Joerg Bornemann
              andysh Andy Shaw
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes