On Sat, Jul 18, 2015 at 11:49 AM, Evgeniy Alekseev <darkarca...@mail.ru>
wrote:

> Hi, there!
>
> I'm a developer of several Plasma 5 widgets. After components upgrading
> (if I
> understand correctly the issue has been caused by the upgrading of plasma-
> frameworks to 5.12.0) my users have found that several instances of the
> same
> widget are no longer allowed. (To be more precise they are allowed but show
> the same data.)
>
> There /should/ be no difference until the app developer opts in, with a
line in the .desktop file

X-KDE-PluginInfo-Version=3.0

Can you link to your applet?

I've researched the issue and found that the problem is in data transfer
> between plugin (C++) and ui (QML) plasmoid parts. I believe the issue has
> been
> caused by the fact that:
>
> 1. All plasmoids load the one plugin instance.
> or
> 2. Each plasmoid loads the own plugin instance but all of them use the one.
>
> Is there a correct way to run each plasmoid with own plugin instance and
> to do
> the bijection between plugin and ui in runtime?
>

The only time you'd have a problem is if you used singletons; the solution
in that case is obviously to not use singletons.

--
> Sincerely yours,
> Evgeniy Alekseev
>
> e-mail: darkarca...@mail.ru
> ICQ: 407-398-235
> Jabber: arca...@jabber.ru
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to