Review Request: Avoid Calling setFailedToLaunch from Microblog Plasmoid

David Narváez david.narvaez at computer.org
Wed Oct 10 13:24:08 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106622/
-----------------------------------------------------------

(Updated Oct. 10, 2012, 1:24 p.m.)


Review request for Plasma.


Changes
-------

Fixed * mark


Description
-------

Calling setFailedToLaunch removes all child items which causes lots of trouble down the road. See, e.g., http://bugs.sabayon.org/show_bug.cgi?id=3706


Diffs (updated)
-----

  applets/microblog/microblog.cpp 376a3cd 

Diff: http://git.reviewboard.kde.org/r/106622/diff/


Testing
-------

Assuming you have a microblog plasmoid

1. Either remove microblogging library or change the name of the engine in the code
2. Restart plasma-desktop

Before this patch, plasma-desktop would stop loading with SIGSEGV. With this patch, the plasmoid loads without functionallity and with a label saying it failed to load the engine.


Thanks,

David Narváez

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


More information about the Plasma-devel mailing list