Until now it's impossible to use Kauth to execute an action that takes more than 25s (the default dbus timeout) , or I did not find the right way to do it. Could it be possible to add an option to change the timeout for an action and to pass this timeout to dbus? Reproducible: Always Expected Results: To be able to perform action that takes more times than the default 25s timeout.
https://git.reviewboard.kde.org/r/128902/
Git commit 99938b0980131202c5d3e2fb1845106c147917d1 by Aleix Pol, on behalf of stephane cachemaille. Committed on 08/11/2016 at 01:12. Pushed by apol into branch 'master'. - Add timeout property Add timeout property to Kauth::Action class to be able to change the timeout in QDBusConnection::asyncCall REVIEW: 128902 M +1 -1 src/HelperProxy.h M +2 -2 src/backends/dbus/DBusHelperProxy.cpp M +1 -1 src/backends/dbus/DBusHelperProxy.h M +2 -1 src/backends/fakehelper/FakeHelperProxy.cpp M +1 -1 src/backends/fakehelper/FakeHelperProxy.h M +15 -2 src/kauthaction.cpp M +23 -0 src/kauthaction.h M +2 -2 src/kauthexecutejob.cpp http://commits.kde.org/kauth/99938b0980131202c5d3e2fb1845106c147917d1