Summary: | Sometimes after login the approver does not work | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | George Kiagiadakis <mail> |
Component: | approver | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ddomenichelli, mklapetek |
Priority: | NOR | ||
Version: | git-latest | ||
Target Milestone: | 0.4.0 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
George Kiagiadakis
2011-12-13 10:59:56 UTC
I have the same problem, also unloading and loading the approver module works... Perhaps installing a client file also for the approver will trick MC into believing that there is an approver then can be activated... This could be possibly solved by (and is related to) bug 284779, then we could even assure correct loading order. This might be a little hacky but it should work: To ensure the correct loading order the approver we could have a file in /usr/share/dbus-1/services/org.freedesktop.Telepathy.Client.KDE.Approver.service [D-BUS Service] Name=/usr/share/dbus-1/services/org.freedesktop.Telepathy.Client.KDE.Approver Exec=qdbus org.kde.kded /kded org.kde.kded.loadModule telepathy_kde_approver and no client file. Instead of starting the approver automatically at login, when MC starts, it will see that dbus is able to start a client that didn't install any .client file, therefore will start it to check its capabilities (this is what haze does, because it cannot have a .client file since its capabilities depend on the plugins installed). Then usually telepathy stuff (haze, for example) will exit and will be activated later on demand, but the kded module won't be unloaded and we will have the approver always running. Git commit 5ebe32c9cce383fb998356adc07adb90baa18d8a by Daniele E. Domenichelli. Committed on 16/12/2011 at 14:08. Pushed by ddomenichelli into branch 'master'. Add D-Bus Service file for approver This fixes a race condition between kded and mission-control, the approver is now started by mission control BUG: 288881 M +1 -0 src/CMakeLists.txt A +3 -0 src/org.freedesktop.Telepathy.Client.KDE.Approver.service M +2 -2 src/telepathy_kde_approver.desktop http://commits.kde.org/telepathy-approver/5ebe32c9cce383fb998356adc07adb90baa18d8a |