Review Request 128597: support a size for adding applets

Marco Martin notmart at gmail.com
Thu Aug 4 11:34:47 UTC 2016



> On Aug. 4, 2016, 11:01 a.m., David Edmundson wrote:
> > This makes no sense.
> > 
> > An AppletInterface (which you're emitting the signal for) already has a width and height property.
> > 
> > (it does have an x,y, but there're relative to the applet container not the containment)
> > 
> > by adding a width and height into the signal applet added you have a potential state where you say "applet added with width 20" and then pass it an object with width 80. That's a broken design.

it's just "create an applet with the following geometry", that makes perfectly sense.

i can remove the size from the signal and resize it beforehand, wouldn't require changes in the desktop containment then


- Marco


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


On Aug. 4, 2016, 10:32 a.m., Marco Martin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128597/
> -----------------------------------------------------------
> 
> (Updated Aug. 4, 2016, 10:32 a.m.)
> 
> 
> Review request for KDE Frameworks and Plasma.
> 
> 
> Repository: plasma-framework
> 
> 
> Description
> -------
> 
> in the addapplet signal, support size paramenters as well, to specify a full geometry where you want the plasmoid.
> 
> 
> Diffs
> -----
> 
>   src/scriptengines/qml/plasmoid/containmentinterface.h 8236105 
>   src/scriptengines/qml/plasmoid/containmentinterface.cpp c390ad1 
> 
> Diff: https://git.reviewboard.kde.org/r/128597/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Marco Martin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160804/b37f5c21/attachment.html>


More information about the Kde-frameworks-devel mailing list