[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Auto-hiding panels
From:       Andrew Lake <jamboarder () gmail ! com>
Date:       2014-10-14 17:53:18
Message-ID: CAKFiHE8QyqVcRn_XsBOJYFFCoNLf4Cb88HGO7gT7rn16G_pO+w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Tue, Oct 14, 2014 at 6:51 AM, =C3=80lex Fiestas wrote:

> On Tuesday 14 October 2014 10:43:42 Martin Klapetek wrote:
> > I'd like to change this for Plasma panels to not have any resistance or
> > very minimal one, basically get it into a state that slamming the mouse
> > against a screen edge will show the panel easily, without requiring an
> > additional push.
> I think we should ask VDG about this, it is a change in behavior and look
> and
> feel after all!
>
> Maybe just tweak to the edge triggering code might get us there as Martin
suggests. :-)

Best I can tell, the behavioral model from the user side is to move the
cursor far enough beyond the edge and the panel will appear. Based on that
behavioral model, I think the expectation would be that if the cursor is
moving relatively quickly when it get's to the edge it'll get to the magic
distance beyond the edge more quickly than if the cursor is moving
relatively slowly.

Another potential behavioral model could be a force model, where the panel
unhides when the edge is hit with a certain degree of "force". Force based
models can be quite complex though since it usually requires some kind of
elastic resistance at the edge to allow triggering when moving the cursor
relatively slowly. Also, since there are very few uses of the cursor within
the screen boundaries that employ a force model, the user needs to maintain
quite different behavioral models of the the cursor behavior at the edge
versus the middle of the screen. It doesn't mean it can't be done, but I
think it can be quite tricky to do well. A simple magic distance past the
edge behavior is usually much simpler and more predictable I think and
should handle the fast versus slow edge approaches just fine.

Hope this helps,
Andrew

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 14, \
2014 at 6:51 AM, Àlex Fiestas wrote:<br><blockquote class="gmail_quote" \
style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span \
class="">On Tuesday 14 October 2014 10:43:42 Martin Klapetek wrote:<br> </span><span \
class="">&gt; I&#39;d like to change this for Plasma panels to not have any \
resistance or<br> &gt; very minimal one, basically get it into a state that slamming \
the mouse<br> &gt; against a screen edge will show the panel easily, without \
requiring an<br> &gt; additional push.<br>
</span>I think we should ask VDG about this, it is a change in behavior and look \
and<br> feel after all!<br><br></blockquote><div>Maybe just tweak to the edge \
triggering code might get us there as Martin suggests. \
:-)</div><div><br></div><div>Best I can tell, the behavioral model from the user side \
is to move the cursor far enough beyond the edge and the panel will appear. Based on \
that behavioral model, I think the expectation would be that if the cursor is moving \
relatively quickly when it get&#39;s to the edge it&#39;ll get to the magic distance \
beyond the edge more quickly than if the cursor is moving relatively \
slowly.</div><div><br></div><div>Another potential behavioral model could be a force \
model, where the panel unhides when the edge is hit with a certain degree of \
&quot;force&quot;. Force based models can be quite complex though since it usually \
requires some kind of elastic resistance at the edge to allow triggering when moving \
the cursor relatively slowly. Also, since there are very few uses of the cursor \
within the screen boundaries that employ a force model, the user needs to maintain \
quite different behavioral models of the the cursor behavior at the edge versus the \
middle of the screen. It doesn&#39;t mean it can&#39;t be done, but I think it can be \
quite tricky to do well. A simple magic distance past the edge behavior is usually \
much simpler and more predictable I think and should handle the fast versus slow edge \
approaches just fine.<br></div><div><br></div><div>Hope this \
helps,<br></div><div>Andrew</div></div></div></div>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic