[kde-community] Plasmoids and Apps - was - Re: Applications in KDE Generation 5
krammer at kde.org
Thu Jan 16 10:46:33 UTC 2014
On Thursday, 2014-01-16, 10:43:42, Aaron J. Seigo wrote:
> We’ve had plasma-windows for ages now which runs plasmoids in their own
> independent window like a mini application. For apps like ksnapshot and
> kcalc the results would be identical or nearly so (kcalc would require
> support for putting a menu[bar] somewhere, or reorganizing how those
> particular features are presented).
I also thought about plasma-windowed when reading that :)
However, I think it is one of those "hidden gems" that nobody knows about.
I've had questions like "can I run $applet stand-alone" on the user support
lists a couple of times and plasma-windowed was the answer.
Its drawback currently is that it is not very easy to figure out what to pass
as its commandline argument.
> We also have an “application” form factor for plasmoids for ~1 year now
> which allows these components to make useful adjustments between being
> embedded as a plasmoid component and being run as a top-level window.
Wow, nice! I don't think I've ever heard about this before and I am even
> I don’t think it makes huge amounts of sense to turn ksnapshot into a
> plasmoid, but KCalc probably would as it would give us feature parity
> between the version on the desktop (and panels). Right now we have 2
> calculators with differing features and levels of maintenance.
I think these kind of convergences will become more natural once we can do
traditional UI with QML (either through QtQuick.Controls or
DeclarativeWidgets). Using the same application logic both for stand-alone
application as well as Plasma applet becomes trivial then.
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the kde-community