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

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

Reply via email to