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

QtQuick: WorkerScript has no ready property

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.15
    • Fix Version/s: 5.15.0 Alpha
    • Component/s: Quick: Other
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      3c4247e1e021b6bcc480afc0716e0231575d0501 (qt/qtdeclarative/5.15)

      Description

      WorkerScript is missing a property ready to designate when the script specified has been loaded. If you send messages before this has happened, you'll get the following warning:

      QQuickWorkerScript: Attempt to send message before WorkerScript establishment
      

      I propose adding a ready property, so you can actually check whether the WorkerScript object is ready or not.

        Attachments

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

          Activity

            People

            • Assignee:
              max.goldstein Maximilian Goldstein
              Reporter:
              max.goldstein Maximilian Goldstein
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes