Bug 363200 - [Kauth] - possibility to change the timeout of dbus.
Summary: [Kauth] - possibility to change the timeout of dbus.
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kauth
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.20.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-18 08:29 UTC by Stéphane Cachemaille
Modified: 2016-11-08 01:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Cachemaille 2016-05-18 08:29:15 UTC
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.
Comment 1 David Faure 2016-11-06 21:52:39 UTC
https://git.reviewboard.kde.org/r/128902/
Comment 2 Aleix Pol 2016-11-08 01:12:37 UTC
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