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

List:       kde-panel-devel
Subject:    Re: KWin Dashboard effect
From:       Alexis_Ménard <menard () kde ! org>
Date:       2009-02-10 22:13:49
Message-ID: 81941aea0902101413n34eead24s73c22d32052d6e45 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Qt Animation can animate our Dashboard without pain...

2009/2/10 Martin Gr=E4=DFlin <kde@martin-graesslin.com>

> Hi plasma-devs,
>
> I had the idea to improve the appearance of the plasma dashboard by using=
 a
> KWin effect for it. Currently I have some proof-of-concept code, but ther=
e
> are
> still some issues ;-)
>
> The effect changes the brightness and satuation of all windows on the sam=
e
> screen as the dashboard (causing some problems for multi-screen setups, b=
ut
> I
> have some ideas to solve them ;-) ). That's the same way as dim inactive =
or
> dim screen for administration mode works. So we can have a nice animation
> instead of "it's just there".
>
> I changed the background of dashboard to be transparent, but nevertheless
> there is some black background. I have no idea where that comes from :-(
>
> My idea for the effect does not only include the way the background is
> changed.
> I would like to have a smooth transition. I have not yet tried anything b=
ut
> I
> would like to paint the windows transparent and raise the dashboard from
> desktop to the top and when deactivating the other way around. I think th=
at
> could be a nice animation. If someone has a better idea please provide it
> ;-)
>
> But here is the next problem: the white flash when opening the dashboard.
> As
> long as there is this white flash an animation does not make any sense. S=
o
> we
> have to get rid of it. What about never closing the dashboard widget? It =
is
> created during startup and just put behind the desktop. We could also use
> the
> existing effect to always hide it. Or just have it on top of the desktop
> and
> have the plasmoids live in there. That way we could also benefit in other
> effects. We already had requests to hide the plasmoids in e.g. coverswitc=
h.
>
> Ah and we can use the effect to block things like present windows and
> desktop
> grid. Alt+Tab is not that easy to block but it would be possible as well.
> We
> just have to try hard enough ;-)
>
> Attached you find the current patch for dashboard and kwin. The kwin code
> is
> also available in my git branch
> (http://github.com/mgraesslin/kwin/tree/dashboard). The dashboard code is
> really just proof-of-concept ;-) Please give it a try and provide some
> feedback.
>
> Regards
> Martin
>
>
>
>
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>

[Attachment #5 (text/html)]

Qt Animation can animate our Dashboard without pain...<br><br><div \
class="gmail_quote">2009/2/10 Martin Gräßlin <span dir="ltr">&lt;<a \
href="mailto:kde@martin-graesslin.com">kde@martin-graesslin.com</a>&gt;</span><br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> Hi plasma-devs,<br>
<br>
I had the idea to improve the appearance of the plasma dashboard by using a<br>
KWin effect for it. Currently I have some proof-of-concept code, but there are<br>
still some issues ;-)<br>
<br>
The effect changes the brightness and satuation of all windows on the same<br>
screen as the dashboard (causing some problems for multi-screen setups, but I<br>
have some ideas to solve them ;-) ). That&#39;s the same way as dim inactive or<br>
dim screen for administration mode works. So we can have a nice animation<br>
instead of &quot;it&#39;s just there&quot;.<br>
<br>
I changed the background of dashboard to be transparent, but nevertheless<br>
there is some black background. I have no idea where that comes from :-(<br>
<br>
My idea for the effect does not only include the way the background is changed.<br>
I would like to have a smooth transition. I have not yet tried anything but I<br>
would like to paint the windows transparent and raise the dashboard from<br>
desktop to the top and when deactivating the other way around. I think that<br>
could be a nice animation. If someone has a better idea please provide it ;-)<br>
<br>
But here is the next problem: the white flash when opening the dashboard. As<br>
long as there is this white flash an animation does not make any sense. So we<br>
have to get rid of it. What about never closing the dashboard widget? It is<br>
created during startup and just put behind the desktop. We could also use the<br>
existing effect to always hide it. Or just have it on top of the desktop and<br>
have the plasmoids live in there. That way we could also benefit in other<br>
effects. We already had requests to hide the plasmoids in e.g. coverswitch.<br>
<br>
Ah and we can use the effect to block things like present windows and desktop<br>
grid. Alt+Tab is not that easy to block but it would be possible as well. We<br>
just have to try hard enough ;-)<br>
<br>
Attached you find the current patch for dashboard and kwin. The kwin code is<br>
also available in my git branch<br>
(<a href="http://github.com/mgraesslin/kwin/tree/dashboard" \
target="_blank">http://github.com/mgraesslin/kwin/tree/dashboard</a>). The dashboard \
code is<br> really just proof-of-concept ;-) Please give it a try and provide \
some<br> feedback.<br>
<br>
Regards<br>
<font color="#888888">Martin<br>
<br>
<br>
<br>
<br>
</font><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