KDE/kdebase/workspace/kwin

Chani chanika at gmail.com
Mon Oct 25 20:34:46 CEST 2010


On September 26, 2010 22:55:20 Martin Gräßlin wrote:
> On Saturday 25 September 2010 21:14:23 Aaron J. Seigo wrote:
> > On Saturday, September 25, 2010, Martin Gräßlin wrote:
> > > > > Yep, duplicating the menu is just a bad idea. Actually we have it
> > > > > three times: one time in kwin, one time for the taskmanager and one
> > > > > time duplicated in Compiz. Could we get this menu as a shared lib?
> > > > > This would also be nice as we could get the window tab features
> > > > > into the tasks menu.
> > > > 
> > > > ouchies. yeah, there's gotta be a way to deduplicate that code..
> > > > right?
> > > 
> > > Yes, should be possible. I assume the more tricky part is adjusting
> > > kwin, but at least it will force us to make window tabbing available
> > > to the task manager.
> > 
> > which would be great :)
> > 
> > so .. menu code. in workspace/libs/taskmanager/taskactions.* there are
> > already standard menus.
> > 
> > for this to work for kwin, i suppose we'd need to make it use WId's
> > directly instead of the Task objects it currently does internally (those
> > are reference counted wrappers around KWinInfo with some additional
> > sugar; useful for libtaskmanager, but not needed in the menus, really,
> > so the menu code could be adjusted)
> > 
> > we could put this menu code in libkworkspace and the menu methods in
> > libtaskmanager would use those internally. everything that uses
> > libtaskmanager currently also pulls in libkworkspace at some point or
> > another, so it shouldn't be any problem from the plasma perspective.
> > 
> > what do you think, Martin?
> 
> Sounds great and matches with what I thought about :-)

so... who's interested in making this happen? :)
whoever it is gets a beer (and hugs of course!) next akademy :)

-- 
Chani
http://chani.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101025/9140455a/attachment.sig 


More information about the Plasma-devel mailing list