Review Request 116940: State-affinity and engaging now Playing from a custom status message fixes.
James Smith
smithjd15 at gmail.com
Wed May 7 22:48:10 UTC 2014
> On May 7, 2014, 10:37 p.m., David Edmundson wrote:
> > status-handler.cpp, line 103
> > <https://git.reviewboard.kde.org/r/116940/diff/10/?file=271954#file271954line103>
> >
> > if nothing is active, you disable everything.
> >
> > What will that accomplish?
Disabling multiple active message plugins in the event one is activated without the first one disabled. Disabling only occurs when the presence string differs from the string expected from a status plugin, in which case only that plugin will be disabled.
> On May 7, 2014, 10:37 p.m., David Edmundson wrote:
> > telepathy-kded-module-plugin.cpp, line 52
> > <https://git.reviewboard.kde.org/r/116940/diff/10/?file=271956#file271956line52>
> >
> > We do not need
> >
> > setEnabled
> > setActive
> >
> > AND
> >
> > setPluginEnabled
> >
> > The only difference between this and setenabled is that it doesn't emit a signal.
> > Except you only call it when its inactive so that won't matter anyway.
This allows smooth presence changes that don't bounce back to the presence prior to the status message plugin being engaged.
- James
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116940/#review57536
-----------------------------------------------------------
On May 7, 2014, 10:25 p.m., James Smith wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116940/
> -----------------------------------------------------------
>
> (Updated May 7, 2014, 10:25 p.m.)
>
>
> Review request for Telepathy.
>
>
> Bugs: 332082
> http://bugs.kde.org/show_bug.cgi?id=332082
>
>
> Repository: ktp-kded-module
>
>
> Description
> -------
>
> This patch returns the ability to engage status message plug-ins from custom status messages. Also working is the disabling of non-visible status message plug-ins. State-affinity in the 95% of previously noted cases has been vastly improved also, the few remaining issues should be due to "lite" protocols that don't have a full complement of on-line presences. Custom presence comparisons have been optimized with presences being loaded only when required. This keeps disk access to a minimum without unnecessary reads and subsequent aborts before save due to filtering of the presence.
>
>
> Diffs
> -----
>
> status-handler.h 06240ff
> status-handler.cpp 4b9c25a
> telepathy-kded-module-plugin.h 4c16169
> telepathy-kded-module-plugin.cpp daf73c6
> telepathy-mpris.cpp 69e8562
>
> Diff: https://git.reviewboard.kde.org/r/116940/diff/
>
>
> Testing
> -------
>
> Disconnect / reconnect, autoconnect / no autoconnect, suspend / resume. Enable / disable via kcm module. Added a new custom presence and engaged the now playing plugin in the contact list from the new presence. Disabled the plugin by activating another presence.
>
>
> Thanks,
>
> James Smith
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20140507/b634f781/attachment-0001.html>
More information about the KDE-Telepathy
mailing list