Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
4.6.3
-
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