Review Request 129158: [PluginLoader] Use operator<< for finalArgs instead of initializer list

David Edmundson david at davidedmundson.co.uk
Wed Oct 12 16:10:13 UTC 2016


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


Ship it!




Ship It!

- David Edmundson


On Oct. 12, 2016, 12:51 p.m., Kai Uwe Broulik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129158/
> -----------------------------------------------------------
> 
> (Updated Oct. 12, 2016, 12:51 p.m.)
> 
> 
> Review request for Plasma and Aleix Pol Gonzalez.
> 
> 
> Repository: plasma-framework
> 
> 
> Description
> -------
> 
> When appending a list to an existing list using append or operator<< each item in the list is added individually whereas with initializer list it just adds the entire list as one entry.
> 
> This caused the applet args to never be empty usually and resulted in externalData being called in init() with a QVariantList as argument.
> 
> While this didn't do much for most applets it did break FolderView (and potentially others) which updates its URL in response to this signal and stored the "data" it got in plasmoid.configuration.url. FolderView's model did not accept this broken data [1] so the folder would still work initially. On next startup, however, it loaded said value from config and just went blank.
> 
> [1] "file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderViewLayer.qml:202:14: Unable to assign QJSValue to QString"
> 
> 
> Diffs
> -----
> 
>   src/plasma/pluginloader.cpp 15e0ead 
> 
> Diff: https://git.reviewboard.kde.org/r/129158/diff/
> 
> 
> Testing
> -------
> 
> I created a FolderView applet, restarted plasmashell twice, FolderView still there and also in subsequent startups both on desktop and in panel.
> 
> 
> Thanks,
> 
> Kai Uwe Broulik
> 
>

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


More information about the Plasma-devel mailing list