<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 18, 2015 at 9:53 PM, Marco Martin <span dir="ltr"><<a href="mailto:notmart@gmail.com" target="_blank">notmart@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Monday 18 May 2015, Mark Gaiser wrote:<br>
> Anyway, with that attribute you let the applet developer OPT-IN in for<br>
> shared engine. Setting that attribute can be easily forgotten. If anything,<br>
> they should OPT-OUT thus by default use the shared engine.<br>
> Perhaps a attribute like this is more appropriate?:<br>
> X-Plasma-RequiresOwnQmlEngine=true<br>
><br>
> or something alike.<br>
><br>
> I'd definitely go for OPT-OUT (defaults = use shared engine).<br>
<br>
</span>no, because the key here is retrocompatibility, old applets have to work as<br>
is.<br>
it's true that this makes it error prone, but that's the ugly need :/<br>
otherwise there wouldn't be any reason for supporting both modes</blockquote><div><br></div><div>While that - on it's own - is a very nice goal, sometimes you just have new developments that are clearly better and the way forward. This is one such case. Sure, you want to keep compatibility, but you should also strongly motivate those that develop applets to use the shared engine.</div><div><br></div><div>Ivan's idea of deprecating it and clearly letting the user know might be a good compromise here. The ironic thing here is that something would have to be introduced that will be deprecated from the beginning. Something sounds wrong about that :)</div></div></div></div>