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

Wasam drag and drop of a smaller file gives zero byte

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes