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

Need a way to avoid redundant function calls

    XMLWordPrintable

Details

    Description

      It is common for a function to be bound to a change-signal in order to
      adjust some aspect of the QML element to the new value of the property.

      But often the change to the property is incremental rather than atomic,
      meaning that there are multiple change-signals sent in quick succession,
      of which only the final one is of interest. This means a lot of time
      spent on executing the function is wasted.

      A way of postponing the execution of a function is needed, such that
      the function is only executed if there has not been another call to
      execute the function for some short period of time.

      Attachments

        Issue Links

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

          Activity

            People

              shausman Simon Hausmann
              mathiasm Mathias Malmqvist
              Votes:
              14 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes