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>