Implementing a panel in Plasma 5.8 needs a layout to accompany it?

Sebastian Kügler sebas at kde.org
Mon Oct 10 13:10:29 UTC 2016


On zaterdag 8 oktober 2016 21:43:59 CEST Michail Vourlakos wrote:
> A small update for this for Plasma 5.8,
> 
> removing "NoDisplay=true" from metadata.desktop is not an option for me...
> The panel is appearing in the widgets list but there is the following not
> acceptable behavior.
> 
> If the user tries to add the Now Dock Panel from the widgets list then the
> panel is trying to be added in the desktop containment and that creates a
> plasma crash that can not be fixed if the user dont edit its plasma
> configuration files (so the user can not login to plasma at all after
> that).
> 
> That creates the following situation:
> 
> Now Dock Panel will be installed only through user manual installation and
> not from the 1-click install of store.kde.org which is disappointing
> actually. This is happening because I have to add a default and an empty
> layouts for the Now Dock Panel and these can not be installed from the same
> plasmoid package and correct me if I am wrong but layouts also can not be
> installed at all from 1-click install of store.kde.org

If by "layout", you mean containment: that should be possible, but would need 
a new category in store.kde.org (easy) and UI in Plasma to download them (not 
as easy, since it involves design, but also not terribly hard).

It's entirely possible of course to install containments by hand.

Marco posted a thread (which didn't get much replies) last week, which talks 
about the same root problem, perhaps you can have a look and see if notmart's 
proposal would fit for your use-case?

Subject is "lookandfeel and dependencies (and potentially all kde-store 
related stuff)"

Cheers,
-- 
sebas

http://www.kde.org | http://vizZzion.org


More information about the Plasma-devel mailing list