[Panel-devel] [PATCH] Plasma::More work on extender (and others)

Aaron J. Seigo aseigo at kde.org
Thu Jul 12 16:21:42 CEST 2007


moving this to panel-devel where it belongs...

On Wednesday 11 July 2007, you wrote:
> Sorry again for the same thread...
>
> I just couldn't live with the small issue on the "fake plasmoids" when
> they were being dragged to a position over the first one on other
> extenders. Ah...
>
> For not making this worse, please Aaron check out this patch:
>
> http://media.ereslibre.es/2007/07/kdebase-12072007.diff

is there an actual need for the ExtenderItem class, or is that just for 
demonstration purposes?

Extender::updated is unecessary, as is the explicit "item is movable" flag 
setting...

otherwise, the video looked good... i'm compiling stuff right now to see how 
it "feels" in practice..

we'll need to animate the movement of items in the extender, of course, rather 
than just make them jump... though we have that quite easily now with 
Phase::SlideIn ... 

the next big hurdle to tackle will be how to do this in a top level window... 
we'll want an implementation of a top level window that supports being shaped 
if composite is available that can grow in response to the contents... IOW, a 
panel window ;) that's the easy part, really; the harder part will be how to 
manage creating new top-levels when items are dragged in/out.

we could probably fake it by moving the actual graphicsitem out of the viewed 
area and have it paint onto a pixmap for dragging and then reshow it when it 
gets moved somewhere useful. more impressive would be to create a new top 
level viewing just that item so that it is live and freely positionable.

we probably want this for panels anyways, so that panels can be "joined" 
and "separated" in a natural way

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070712/770b0366/attachment.pgp 


More information about the Panel-devel mailing list