[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Re: flowout proposal
From: Mark <markg85 () gmail ! com>
Date: 2011-12-28 16:58:24
Message-ID: CAPd6JnHdJX_XC4MZBE7+NGZabwxb+bp=BECnAmzEUKHBB0C=Dg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Wed, Dec 28, 2011 at 5:14 PM, Martin Gr=E4=DFlin <mgraesslin@kde.org> wr=
ote:
> On Wednesday 28 December 2011 16:54:37 Mark wrote:
> > I really like your reply especially since you're commenting about the
> image
> > and everything in it :) Nice feedback although not exactly the thing i
> > intended.
> > I meant the flowout part, so in that image it's the way the "start menu=
"
> > kinda flows out of the panel itself.
> >
> > Sadly you didn't run the example since you would have instantly noticed
> > it.. thus i mailed the example to you ^_^
> thanks for mailing it, so I have seen it now.
>
> Well that is not really trivial. In your QML example the panel, start men=
u
> and
> desktop background are one window rendered in one context. In reality the=
se
> are three windows. Adapting the size is not really a nice thing to do wit=
h
> X11. Just give it a try with Yakuake. It supports sliding popups (default=
)
> and
> animation by itself. If the animation is done by itself it is slow,
> stutters -
> espacially on NVIDIA.
>
> Reason for that is that with each changed size a new window pixmap is
> required
> and some drivers are slow with texture from pixmap operations. And the
> whole
> thing has to be perfectly timed. Yakuake resizes it's window in a fixed
> interval and KWin would have to repaint in exactly the same interval to
> get a
> fluid animation. I expect things like that to be much better with Wayland=
.
>
> With the sliding popups effect we go a different way: the window is not
> resized but moved by the compositor. Unfortunately there is no feedback t=
o
> the
> window. That is something we will gain with Wayland. There the window wil=
l
> know when a frame was rendered. Nevertheless it would be possible to
> pseudo-
> sync the rendering if Plasma uses the effect hook to set the animation
> duration. The only thing you would not do is the resizing.
>
> So I would say: give it a try. Just use the kickoff-qml branch and apply
> your
> qml magic :-)
>
Hehehe, you really do promote that kickoff-qml quite well! I see it so
often on your blog and other areas.
But how can i apply "my magic" to that? As you see in the example code,
I've sliced the panel in two parts. one is the 2 pixel top line and the
rest is the gradient. As far as i know the plasma theming stuff only has 1
image for the panel right? Thus i can't interrupt the border that is on top
of the panel..
> >
> > About the firefox or window manager things or even blur. Thanx for that
> but
> > you can ignore the picture other then place where the panel nicely
> > integrates in the start menu.
> it did not say so :-)
>
> Cheers
> Martin
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
[Attachment #5 (text/html)]
<div class="gmail_quote">On Wed, Dec 28, 2011 at 5:14 PM, Martin Gräßlin <span \
dir="ltr"><<a href="mailto:mgraesslin@kde.org">mgraesslin@kde.org</a>></span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">
<div class="im">On Wednesday 28 December 2011 16:54:37 Mark wrote:<br>
> I really like your reply especially since you're commenting about the \
image<br> > and everything in it :) Nice feedback although not exactly the thing \
i<br> > intended.<br>
> I meant the flowout part, so in that image it's the way the "start \
menu"<br> > kinda flows out of the panel itself.<br>
><br>
> Sadly you didn't run the example since you would have instantly noticed<br>
> it.. thus i mailed the example to you ^_^<br>
</div>thanks for mailing it, so I have seen it now.<br>
<br>
Well that is not really trivial. In your QML example the panel, start menu and<br>
desktop background are one window rendered in one context. In reality these<br>
are three windows. Adapting the size is not really a nice thing to do with<br>
X11. Just give it a try with Yakuake. It supports sliding popups (default) and<br>
animation by itself. If the animation is done by itself it is slow, stutters -<br>
espacially on NVIDIA.<br>
<br>
Reason for that is that with each changed size a new window pixmap is required<br>
and some drivers are slow with texture from pixmap operations. And the whole<br>
thing has to be perfectly timed. Yakuake resizes it's window in a fixed<br>
interval and KWin would have to repaint in exactly the same interval to get a<br>
fluid animation. I expect things like that to be much better with Wayland.<br>
<br>
With the sliding popups effect we go a different way: the window is not<br>
resized but moved by the compositor. Unfortunately there is no feedback to the<br>
window. That is something we will gain with Wayland. There the window will<br>
know when a frame was rendered. Nevertheless it would be possible to pseudo-<br>
sync the rendering if Plasma uses the effect hook to set the animation<br>
duration. The only thing you would not do is the resizing.<br>
<br>
So I would say: give it a try. Just use the kickoff-qml branch and apply your<br>
qml magic :-)<br></blockquote><div><br></div><div>Hehehe, you really do promote that \
kickoff-qml quite well! I see it so often on your blog and other \
areas.</div><div><br></div><div>But how can i apply "my magic" to that? As \
you see in the example code, I've sliced the panel in two parts. one is the 2 \
pixel top line and the rest is the gradient. As far as i know the plasma theming \
stuff only has 1 image for the panel right? Thus i can't interrupt the border \
that is on top of the panel..</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"> <div class="im">><br>
> About the firefox or window manager things or even blur. Thanx for that but<br>
> you can ignore the picture other then place where the panel nicely<br>
> integrates in the start menu.<br>
</div>it did not say so :-)<br>
<br>
Cheers<br>
<span class="HOEnZb"><font \
color="#888888">Martin</font></span><br>_______________________________________________<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" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
<br></blockquote></div><br>
_______________________________________________
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