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

QDragManager invalid state when targetting WebAssembly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.3.0 Beta1
    • 5.12.0 Beta 1
    • GUI: Drag and Drop
    • None
    • Firefox 65.0a1 Nightly 2018-10-25 (64 bit)
      Mac OS ( also occurred on Linux)
      Emscripten gcc/clang-like replacement) 1.38.13
    • WebAssembly

    Description

      Using Qt's DragDropRobot sample compiled for WebAssembly.  Attempt to drag & drop and notice the first drag succeeds and the second fails.  Tried both Chrome and Firefox Nightly and got the same result.  The following appears in the browser console:

      Uncaught Please compile your program with async support in order to use asynchronous operations like emscripten_sleep
      18qtloader.js:352 QDragManager::drag in possibly invalid state

      I also tried to compile emscriptens Asyncify but that resulted in compile errors. 

      Attachments

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

        Activity

          People

            lpotter Lorn Potter
            bbsclient Mike Miller
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change