<div dir="ltr"><div><div><div>One thing that I (kind of) pitched during a sprint, I'll mention it here for discussion;<br><br></div>What if we created a new class of widget called a "dock widget". Behaviourally, these widgets would be clamped to a screen edge, owning that edge in the same ways as a panel. Dock widgets could anchor and place items to that edge in a fairly free-form manner. They would define an arbitrary "size" (denoting width for vertically clamped widgets, height for horizontal) for the reserved screen space, which they could draw outside of.<br><br></div>The main use-case of dock widgets is allowing functional and aesthetic designs which are impractical with panels as we have now. Dock widgets could use scale, flyouts, animations, and transformations which modular panels cannot perform, as our panels require specific sizing information from contained widgets.<br><br></div><div>I'll note that "dock widgets" wouldn't be beholden to simply emulating Gnome-like or MacOS-style docks. Maynard has showcased a very unique dock which heavily uses flyouts and "peeking". In some ways, Yakkuke and KRunner are in similar positions; widget-like, clamped to an edge. There are creative possibilities here.<br></div><div><br></div>The downside of these "dock widgets" are that they would be as configurable as any individual widget - lacking the modularity of panels. But for users who prefer "real" docks and dock-like widgets with a higher degree of polish which work "as is", this would be the way to do it. I'd be interested in the creative possibilities of Plasma offering several unique "dock widgets" users could choose from. I think our current approach to making "docks" is kludgy and overcomplicated, and trying to let users emulate docks via panels has lead to panels being a bit more complex than necessary. If we simply allowed "dock widgets" to take over these more dynamic layouts, we could probably streamline panel customisation a bit if we treat them as being more "static" in size, too.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 20, 2016 at 2: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 Wednesday 20 July 2016 21:15:33 Michail Vοurlakos wrote:<br>
> Hello,<br>
><br>
> I am trying to implement a plasmoid task manager that behaves<br>
> like the Mac or the Plank one..<br>
</span>> the code can be found here: <a href="https://github.com/psifidotos/plasmaqmldock[1]" rel="noreferrer" target="_blank">https://github.com/psifidotos/plasmaqmldock[1]</a><br>
<span class="">> it is in a very early stage but the animation is there and showing<br>
> and hiding windows also...<br>
<br>
</span>I tought about an use case like that in the past...<br>
<br>
you would need to have a very big panel, mostly completely transparent (so it<br>
means you couldn't use always visible mode, and you depend from having<br>
composite)<br>
but for 3rd party things may be ok-ish.<br>
<br>
what the panel on our side would need to do, is not to draw its background in<br>
that case, basically just respect the background hints, just like applets do.<br>
I am thinking to add that never the less in 5.8, wouldn't change for the<br>
default one, but could be a little fun quirky possibility for kdelook stuff<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Marco Martin<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
</div></div></blockquote></div><br></div>