Review Request 127199: Avoid blocking DBus calls in SNI startup

David Edmundson david at davidedmundson.co.uk
Sat Feb 27 16:58:59 UTC 2016



> On Feb. 27, 2016, 3:02 p.m., Kai Uwe Broulik wrote:
> > dataengines/statusnotifieritem/statusnotifieritem_engine.cpp, line 98
> > <https://git.reviewboard.kde.org/r/127199/diff/1/?file=445689#file445689line98>
> >
> >     Typo: propetiesIface -> propertiesIface
> >     
> >     Also, doesn't that constructor block? or is that fixed in 5.6?

QDBusInterface blocks as it does an implicit introspection to get a list of properties and methods.

QDBusAbstractInterface (which this inherits from) doesn't - as we've already given it a list of properties and methods.


- David


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


On Feb. 27, 2016, 2:58 p.m., David Edmundson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127199/
> -----------------------------------------------------------
> 
> (Updated Feb. 27, 2016, 2:58 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> All autogenerated qtdbus property fetches are synchronous.
> 
> 1) Don't bother checking the protocol version.
> If the signals are the same, we may as well try and use the old signals,
> if it's not - the signals won't match anything anyway so it won't do
> anything anyway.
> 
> 2) Replace the blocking RegisteredStatusNotifierItem request with an
> async variant.
> 
> CCBUG: 359611
> 
> 
> Diffs
> -----
> 
>   dataengines/statusnotifieritem/CMakeLists.txt c28312ea4292aaf9a610e5ff8435e08f520c7839 
>   dataengines/statusnotifieritem/statusnotifieritem_engine.cpp 08a8c869f4e1a1445d15f3a4d9fb6fb7e62c3d32 
> 
> Diff: https://git.reviewboard.kde.org/r/127199/diff/
> 
> 
> Testing
> -------
> 
> Ran statusnotifieritem test
> restarted plasmashell
> test icon showed up
> 
> 
> Thanks,
> 
> David Edmundson
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160227/7a095f8e/attachment.html>


More information about the Plasma-devel mailing list