[Panel-devel] minimization to taskbar

Jason Stubbs jasonbstubbs at gmail.com
Sun Dec 2 13:36:19 CET 2007


On Sunday 02 December 2007 19:23:44 Jason Stubbs wrote:
> Also as per IRC, I've had a look at getting parent widgets to pass
> ItemPositionHasChanged events down to children that want to receive them.
> I've attached patches to widget and systemtray separately. Most of the
> codepaths are untested though as it seems that systemtray is a top-level
> widget on the panel, which implies that checking for scene changes is
> unnecessary work in the current code.

I've tested all the codepaths now, by...

> I haven't looked at this aspect yet. I think I might leave the taskbar
> until a "final" solution to the systray handling above is agreed upon.

Implementing the changes in taskbar. They ended up being even less than
I thought and uncovered two bugs in plasma in the meantime (which I've
checked in). I've reattached the widget patch against current subversion
as well as the changes needed for tasks.

> Also, this still doesn't address a view changing the scene rect that it
> is viewing or any other transformations (like zoom).

If Plasma::View notifies Plasma::Corona that then notifies its containment(s?)
about changes to the Plasma::View's geometry, this widget patch could address 
the above issue as well with very little overhead. I should stop overloading
the meaning of QGraphicsItem::ItemPositionHasChanged and give this a try...

Does this sound like it's getting there?

-- 
Jason Stubbs


More information about the Panel-devel mailing list