https://bugs.kde.org/show_bug.cgi?id=527665
Bug ID: 527665
Summary: Installation of krunner plugins usually needs the user
to restart before they work
Classification: Frameworks and Libraries
Product: frameworks-knewstuff
Version First unspecified
Reported In:
Platform: Manjaro
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---
DESCRIPTION
Currently, when installing a krunner plugin through knewstuff most of them
won't work right of the bat.
As far as I can see, this has mostly two reasons:
- Krunner itself doesn't seem to reload plugins after installation and needs to
be restarted
- When a plugin creates a dbus service for automatic activation, dbus won't
find this configuration unless it's being told to reload the config, i.e. using
`dbus-send --session --type=method_call --dest=org.freedesktop.DBus
/org/freedesktop/DBus org.freedesktop.DBus.ReloadConfig`
Plugin authors using their own install.sh can work around this by managing all
of this themselves (if they know how to, I don't feel many do), but when using
krunner-plugininstallerrc all you can do is tell the user to reboot for it to
work.
I think this makes for a rather bad user experience and could be easily
improved a lot if knewstuff handled these points itself after installation.
My journey of confusion to come this conclusion can be seen in this discourse
thread:
https://discuss.kde.org/t/remindme-a-krunner-plugin-to-set-reminders-timers/
STEPS TO REPRODUCE
1. Install a krunner plugin
OBSERVED RESULT
It won't work and might not even show up in Krunner's / Plasma's Search Plugin
list right away,
The user has to log out and in again for things to work properly.
EXPECTED RESULT
Plugins should be ready right after installation, or the user will think
something didn't work.
SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
--
You are receiving this mail because:
You are watching all bug changes.