<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 11, 2016 at 4:15 PM, Michail Vourlakos <span dir="ltr"><<a href="mailto:mvourlakos@gmail.com" target="_blank">mvourlakos@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p><font size="+2"><tt>Hello everyone,</tt></font></p>
<p><font size="+2"><tt><br>
I am working in the plasma panels codepage these days, trying
to enhance their features and I would like your opinion in
some aspects of it. This effort is based a lot in the Now Dock
Panel and its needs. I have sent some feature requests and
lately I have sent some patches for review. I have the opinion
that all the future enhancements should go inside plasma and
kwin instead of keeping all the workarounds outside. I have
done that mistake in the past :). So I am here and I am
willing to work on the following but I will need your
knowledge and guidance in some of them. Of course you are them
who are going to decide if this is worth it... <br>
</tt></font></p>
<p><font size="+2"><tt><br>
</tt></font></p>
<p><font size="+2"><tt>1. Transparent Panels</tt></font></p>
<p><font size="+2"><tt><a class="gmail-m_-5574537774688052040moz-txt-link-freetext" href="https://bugs.kde.org/show_bug.cgi?id=368384" target="_blank">https://bugs.kde.org/show_bug.<wbr>cgi?id=368384</a></tt></font></p>
<p><font size="+2"><tt><a class="gmail-m_-5574537774688052040moz-txt-link-freetext" href="https://phabricator.kde.org/D3282" target="_blank">https://phabricator.kde.org/<wbr>D3282</a></tt></font></p>
<p><font size="+2"><tt><a class="gmail-m_-5574537774688052040moz-txt-link-freetext" href="https://phabricator.kde.org/D3283" target="_blank">https://phabricator.kde.org/<wbr>D3283</a></tt></font></p>
<p><font size="+2"><tt><br>
</tt></font></p>
<p><font size="+2"><tt>2. Change Panel's Thickness from client side<br>
</tt></font></p>
<p><font size="+2"><tt>As I have understood it, the plasma panels
change their thickness only by the user setting its value. I
would like this to be able to be changed from the panel's
client qml codepage. I tried to expose thickness with
Layout.preferredWidth and preferredHeight but this didnt go
quite well because it breaks current implementatation. I tried
containment.implicitWidth... but this isnt exposed at all. Do
you have any ideas how this should be implemented in order to
not break current implementation?</tt></font></p>
<p><font size="+2"><tt><br></tt></font></p></div></blockquote><div>How will that help your use case of the dock?<br></div><div>You control the containment in a panel, but you're not changing Panel.qml itself.<br><br></div><div></div>Everything should be exposed to the client already as the "user setting its value" is just the panel config, another QML file with access to the same panelview properties as panel does.<br><br><div></div><div>In terms of Panel dimensions we refer to thickness and length. <br></div><div>When
the panel is at the top or bottom of the screen, thickness is height
and length is width. When the panel is on the left or right side, it's
the opposite.<br><br></div><div>Thickness is self-explanatory<br><br></div><div>Length can be confusing:<br></div><div> - length should be the implicit size of the contents of the panel containment want to be. <br></div> - min/max length are the <br><br></div><div class="gmail_quote">panelview will set the panel to length, but constrained to min/max length and then also bound to the size of the screen.<br></div><br><div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><p><font size="+2"><tt>
</tt></font></p>
<p><font size="+2"><tt>3. "Real" Panel Transparency</tt></font></p>
<p><font size="+2"><tt>Docks are panels that not only have a visual
transparent background but also they pass the mouse events to
go underneath their transparent areas. This is also the way
Plank is doing it. It creates a big window that for the
transparent background leaves all the mouse events go
underneath. I believe plasma panels are Qt windows managed
from KWin, I think Qt is offering this feature by setting some
flags for the window. Do you have any ideas for this?</tt></font></p>
<font size="+2"><tt><br></tt></font></div></blockquote><div>Plasma panels are just normal windows, so a mask could be set. Would have to be on the C++ side in panelview<br><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><font size="+2"><tt>
regards,</tt></font>
<p><font size="+2"><tt>michail</tt></font></p>
<p><font size="+2"><tt><br>
</tt></font></p>
<p><font size="+2"><tt>P.S. I am willing to work on the above and I
am not in any hurry. I would like just the above to be offered
from our main codepage.<br>
</tt></font></p>
<p><font size="+2"><tt><br>
</tt></font></p>
</div>
</blockquote></div><br></div></div>