Review Request 115425: Activate / deactivate Now Playing globally in KConfig when setting playback status in the contact list

James Smith smithjd15 at gmail.com
Sat Feb 15 10:25:48 UTC 2014



> On Feb. 7, 2014, 11:25 p.m., David Edmundson wrote:
> > I think this patch is mostly sensible. (except for my code comment)
> > 
> > In Xeng's change [2] the config option stores if now playing is currently enabled. 
> > "Enable option now behaves as "enable on login", and changes at contact list will be temporary for this login. And use requested presence to evaluate the new presence by this plugin."
> > 
> > Having a code path that sets it to true but not one that sets it to false is wrong, which is what this patch fixes.
> > 
> > Martin, I think there's some confusion because this differs from what your original idea of what that setting does, which is what I thing you are talking about in your review comment.
> > I still not sure as to how you think it should behave despite [1] having been open for over a year.
> > 
> > [1] https://bugs.kde.org/show_bug.cgi?id=307582 
> > [2] https://git.reviewboard.kde.org/r/113066/. 
> >

I needed this patch to fix contact list interaction with the new kded module nowplaying behavior where nowplaying has to be explicitly disabled to maintain an empty status message, meaning the contactlist now has to keep kded properly aware of enabled / disabled mpris2 nowplaying configuration to keep from going haywire where the contactlist assumes it is in a certain state when it actually isn't according to systemsettings.

I went a little farther and replaced the nowplaying entry in the dropdown with a checkbox in the custom presence config dialog, which I think is functionally better but some people might like the speaker icon with an open contact list.


- James


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115425/#review49227
-----------------------------------------------------------


On Feb. 3, 2014, 3 p.m., James Smith wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115425/
> -----------------------------------------------------------
> 
> (Updated Feb. 3, 2014, 3 p.m.)
> 
> 
> Review request for Telepathy and Martin Klapetek.
> 
> 
> Repository: ktp-contact-list
> 
> 
> Description
> -------
> 
> Enables / disables Now Playing in systemsettings every time it is enabled / disabled in the contact list.
> 
> Fixes systemsettings kcm showing nowplaying enabled while the contact list has disabled its functionality.
> 
> 
> Diffs
> -----
> 
>   global-presence-chooser.cpp 2047473 
> 
> Diff: https://git.reviewboard.kde.org/r/115425/diff/
> 
> 
> Testing
> -------
> 
> Compile, run.
> 
> 
> Thanks,
> 
> James Smith
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20140215/5bee4a22/attachment.html>


More information about the KDE-Telepathy mailing list