panels and popups sliding effect

2009-07-20 Thread Marco Martin
Hi all, At the plasma&kwin bof at akademy one of the things we talked about was a new effect that can make popups and panels appear with a slide animation. today i decided to give it a try here is the result, it seems to work quite well. Now it applies to every window and this is of course bad++,

Re: panels and popups sliding effect

2009-07-20 Thread Martin Gräßlin
Am Montag 20 Juli 2009 18:18:48 schrieb Marco Martin: > Hi all, > At the plasma&kwin bof at akademy one of the things we talked about was a > new effect that can make popups and panels appear with a slide animation. > today i decided to give it a try here is the result, it seems to work quite > wel

Re: panels and popups sliding effect

2009-07-20 Thread Aaron J. Seigo
On Monday 20 July 2009, Martin Gräßlin wrote: > IIRC we said that adding a special window type would be better. That one > would of course be outside netwm - nevertheless could be added to netwm > later on. hm.. would this replace the usual window type for the window, or can a window have more th

Re: panels and popups sliding effect

2009-07-20 Thread Marco Martin
On Monday 20 July 2009, Martin Gräßlin wrote: > Am Montag 20 Juli 2009 18:18:48 schrieb Marco Martin: > > Hi all, > > At the plasma&kwin bof at akademy one of the things we talked about was a > > new effect that can make popups and panels appear with a slide animation. > > today i decided to give i

Re: panels and popups sliding effect

2009-07-20 Thread Marco Martin
On Monday 20 July 2009, Marco Martin wrote: > On Monday 20 July 2009, Martin Gräßlin wrote: > > Am Montag 20 Juli 2009 18:18:48 schrieb Marco Martin: > > > Hi all, > > > At the plasma&kwin bof at akademy one of the things we talked about was > > > a new effect that can make popups and panels appear

Re: panels and popups sliding effect

2009-07-20 Thread Thomas Lübking
Am Monday 20 July 2009 schrieb Marco Martin: > adding (another) new type could also solve my issue with the netbook shell, > where kwin thinks that window is fullscreen just because has the full size > but not the fullscreen flag afaik that's a workaround for old apps that are not NETWM compliant,

Re: panels and popups sliding effect

2009-07-20 Thread Marco Martin
On Monday 20 July 2009, Thomas Lübking wrote: > Am Monday 20 July 2009 schrieb Marco Martin: > > adding (another) new type could also solve my issue with the netbook > > shell, where kwin thinks that window is fullscreen just because has the > > full size but not the fullscreen flag > > afaik that'

Re: panels and popups sliding effect

2009-07-20 Thread Lucas Murray
On Tue, Jul 21, 2009 at 4:06 AM, Marco Martin wrote: > oops, this is the correct one :D I thought I mentioned that for this effect to work the way you want it you would apply an X property on the window before mapping it. The property would look something like: _KDE_SLIDE = {x1, y1, x2, y2, direc

Re: panels and popups sliding effect

2009-07-20 Thread Lucas Murray
On Tue, Jul 21, 2009 at 11:59 AM, Lucas Murray wrote: > The property would look something like: _KDE_SLIDE = {x1, y1, x2, y2, > direction} where the two coordinates must be either exactly horizontal > or vertical and the direction is 0 for coming from the top/left and 1 > is for coming from the bot

Re: panels and popups sliding effect

2009-07-20 Thread Aaron J. Seigo
On Monday 20 July 2009, Marco Martin wrote: > windows should be clipped to look as they come from the panel, and not > slide over it, is there another way to achieve that? > maybe if it slides under the panel could make sense, not sure,hmm that'll look ugly with translucent panels. but Lucas' solu

Re: panels and popups sliding effect

2009-07-21 Thread Marco Martin
On Tuesday 21 July 2009, Aaron J. Seigo wrote: > On Monday 20 July 2009, Marco Martin wrote: > > windows should be clipped to look as they come from the panel, and not > > slide over it, is there another way to achieve that? > > maybe if it slides under the panel could make sense, not sure,hmm > >

Re: panels and popups sliding effect

2009-07-21 Thread Marco Martin
On Tuesday 21 July 2009, Lucas Murray wrote: > On Tue, Jul 21, 2009 at 11:59 AM, Lucas Murray wrote: > > The property would look something like: _KDE_SLIDE = {x1, y1, x2, y2, > > direction} where the two coordinates must be either exactly horizontal > > or vertical and the direction is 0 for comin

Re: panels and popups sliding effect

2009-07-23 Thread Marco Martin
On Tuesday 21 July 2009, Marco Martin wrote: > On Tuesday 21 July 2009, Lucas Murray wrote: > > On Tue, Jul 21, 2009 at 11:59 AM, Lucas Murray > > wrote: > > > The property would look something like: _KDE_SLIDE = {x1, y1, x2, y2, > > > direction} where the two coordinates must be either exactly ho

Re: panels and popups sliding effect

2009-07-23 Thread Aaron J. Seigo
On Tuesday 21 July 2009, Marco Martin wrote: > is the custom anim code in Dialog and Panel to be removed? or should be yes, i think it can be removed. what i don't like about these patches is that they manipulate the xatoms directly. it's fairly ugly code and it gets copied in various places, r

Re: panels and popups sliding effect

2009-07-23 Thread Marco Martin
On Thursday 23 July 2009, Aaron J. Seigo wrote: > On Tuesday 21 July 2009, Marco Martin wrote: > > is the custom anim code in Dialog and Panel to be removed? or should be > > yes, i think it can be removed. > > what i don't like about these patches is that they manipulate the xatoms > directly. it'

Re: panels and popups sliding effect

2009-07-23 Thread Aaron J. Seigo
On Thursday 23 July 2009, Marco Martin wrote: > animateWindow(winId, Animation, Location); the same for the highlight windows and other xatom based affects as well. animateWindow is a bit generic of a name given that, but i think it's completely the right idea/direction. -- Aaron J. Seigo humr

Re: panels and popups sliding effect

2009-07-24 Thread Marco Martin
On Friday 24 July 2009, Aaron J. Seigo wrote: > On Thursday 23 July 2009, Marco Martin wrote: > > animateWindow(winId, Animation, Location); > > the same for the highlight windows and other xatom based affects as well. > animateWindow is a bit generic of a name given that, but i think it's > comple

Re: panels and popups sliding effect

2009-07-24 Thread Marco Martin
On 7/24/09, Marco Martin wrote: > On Friday 24 July 2009, Aaron J. Seigo wrote: >> On Thursday 23 July 2009, Marco Martin wrote: >> > animateWindow(winId, Animation, Location); >> >> the same for the highlight windows and other xatom based affects as well. >> animateWindow is a bit generic of a na

Re: panels and popups sliding effect

2009-07-24 Thread Aaron J. Seigo
On Friday 24 July 2009, Marco Martin wrote: > what about a small library (just statics probably) in workspace to deal > with this stuff? KWindowSystemExtra? the code needs to be accessible from libplasma though so that e.g. PopupApplet can animate its stuff. that's why i suggested Animator. a Pl

Re: panels and popups sliding effect

2009-07-26 Thread Marco Martin
On Saturday 25 July 2009, Aaron J. Seigo wrote: > On Friday 24 July 2009, Marco Martin wrote: > > what about a small library (just statics probably) in workspace to deal > > with this stuff? KWindowSystemExtra? > > the code needs to be accessible from libplasma though so that e.g. > PopupApplet can

Re: panels and popups sliding effect

2009-07-26 Thread Martin Gräßlin
Am Sonntag 26 Juli 2009 12:55:55 schrieb Marco Martin: > On Saturday 25 July 2009, Aaron J. Seigo wrote: > > On Friday 24 July 2009, Marco Martin wrote: > > > what about a small library (just statics probably) in workspace to deal > > > with this stuff? KWindowSystemExtra? > > > > the code needs to

Re: panels and popups sliding effect

2009-07-26 Thread Marco Martin
On Sunday 26 July 2009, Martin Gräßlin wrote: > Am Sonntag 26 Juli 2009 12:55:55 schrieb Marco Martin: > > On Saturday 25 July 2009, Aaron J. Seigo wrote: > > > On Friday 24 July 2009, Marco Martin wrote: > > > > what about a small library (just statics probably) in workspace to > > > > deal with t

Re: panels and popups sliding effect

2009-07-26 Thread Marco Martin
On Sunday 26 July 2009, Marco Martin wrote: > On Saturday 25 July 2009, Aaron J. Seigo wrote: > > On Friday 24 July 2009, Marco Martin wrote: > > > what about a small library (just statics probably) in workspace to deal > > > with this stuff? KWindowSystemExtra? > > > > the code needs to be accessi

Re: panels and popups sliding effect

2009-07-26 Thread Aaron J. Seigo
On Sunday 26 July 2009, Marco Martin wrote: > i'm really on the fence on where to put this and how to call it. > Becasue if we put other stuff like that like the taskbar thumbnails and the > glow effect they wouldn't have much to do with animation, and i'm kinda > wondering if plasma is the right n

Re: panels and popups sliding effect

2009-07-26 Thread Marco Martin
On Sunday 26 July 2009, Aaron J. Seigo wrote: > On Sunday 26 July 2009, Marco Martin wrote: > > i'm really on the fence on where to put this and how to call it. > > Becasue if we put other stuff like that like the taskbar thumbnails and > > the glow effect they wouldn't have much to do with animati