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

      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).

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes