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

Wasam drag and drop of a smaller file gives zero byte

    XMLWordPrintable

Details

    • WebAssembly
    • 0a37f038b (dev), 77aa6640f (6.8), 0c2dd5e14 (6.7)

    Description

      If you use drag and drop into a Qt wasm app (e.g. from Windows Explorer into the app), and the file is small (like 1 to 5kb), the file in /qt/tmp/ has no bytes in it at all. This appears to be true on both Chrome and Firefox. 

      /qt/tmp does gets the content of the file but size shows zero. If the dropped file is larger like 100kb or large then it shows the correct size.

      Just drop any file in attached example and see the browser log for size.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            irfan.omair@digia.com Irfan Omair
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes