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

QDBusAbstractInterface::asyncCallWithArgumentList should be able to set a timeout

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.6.3
    • D-Bus
    • None

    Description

      Some D-Bus methods are expected to take a long time, and should be called with a non-default timeout. QtDBus allows this via lower-level API (QDBusConnection::asyncCall), but not via any of the methods on QDBusAbstractInterface.

      My proposed solution would be for QDBusAbstractInterface::asyncCallWithArgumentList to gain a timeout argument, defaulting to -1, and equivalent to the one for QDBusConnection::asyncCall. I don't think omitting this functionality from QDBusAbstractInterface::asyncCall is a problem.

      See also: https://bugs.freedesktop.org/show_bug.cgi?id=28797

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            smcv Simon McVittie
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes