Details

    • Sub-task
    • Resolution: Invalid
    • P2: Important
    • 4.8.0
    • Qt Script
    • None

    Description

      The use case for setProcessEventsInterval() (http://doc.trolltech.com/4.7/qscriptengine.html#setProcessEventsInterval) is to keep the GUI responsive when evaluating a potentially long-running script in the GUI thread.

      The main issue with this API is that it's too fine-grained. It's very hard (impossible, in some cases) to guarantee that we will call processEvents() at the requested interval – especially when native functions (of which we have no control of the running time) are called from JS.

      The replacement API should have a more general notion of a timeout (i.e. not tied to milliseconds).

      Attachments

        Issue Links

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

          Activity

            People

              kenthans Kent Hansen (Inactive)
              kenthans Kent Hansen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes