[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 264477] New: calling
From: Ronny Standtke <Ronny.Standtke () gmx ! net>
Date: 2011-01-27 13:10:45
Message-ID: bug-264477-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=264477
Summary: calling
org.kde.KIO.Scheduler.reparseSlaveConfiguration via
dbus does not work
Product: kio
Version: unspecified
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: faure@kde.org
ReportedBy: Ronny.Standtke@gmx.net
Version: unspecified (using KDE 4.6.0)
OS: Linux
I have the following use case: Proxy settings must be automatically changed by
a script (that changes ~.kde/share/config/kioslaverc) but running konqueror
instances must not be restarted to get the new proxy settings.
In the good old days of KDE 3 it was possible to trigger reparsing of KIO http
configuration with the following simple call:
$ dcop <program> KIO::Scheduler reparseSlaveConfiguration http
Now that I migrated to KDE 4 I wanted to do the same. DCOP is gone, so I spend
some time figuring out what I had to do. I learned that I can use qdbus to get
a list of valid destinations and can use dbus-send to send a signal. Example:
----------------
$ qdbus | grep konqueror
org.kde.konqueror-8084
$ dbus-send --session --dest=org.kde.konqueror-8084 /KIO/Scheduler
org.kde.KIO.Scheduler.reparseSlaveConfiguration
----------------
(the last line was too long and has a line break, the org.kde... stuff is a
parameter to the dbus-send command)
Unfortunately, executing the last statement does not work. I still have to
restart konqueror to use the new proxy settings.
Reproducible: Always
Steps to Reproduce:
Try the example given above.
Actual Results:
I have to restart konqueror to use the updated proxy settings.
Expected Results:
Konqueror uses the updated proxy settings even without a restart.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic