Re: Bug 60331 =?UTF-8?Q?=E2=80=93?= Object properties should handle multiple objects



On Wed, 2008-11-19 at 11:54 +0530, Sameer Sahasrabuddhe wrote:
Hello,

The current state of this bug is that properties of a group of objects
are handled correctly. The thing left to do is handling properties of
multiple selected objects, that have not been grouped. The problem
arises in app/commands.c, where properties_show() is called ... the
selected objects are stored as a list in DiagramData, but the function
is passed only the head of the list, and all other selected objects
are ignored.


The solution is to pass selected objects as a single collection
properties_show(). IIRC, the new version of group will solve this.
What is the status of newgroup.c? Should we wait for this to replace
the current group implementation, or instead come up with a
"DiaContainerObject" whose sole purpose is to forward all function
calls to the objects that it owns?

newgroup.c is close to being finished, but I'm not working on it ATM.
So unless someone else picks it up, waiting for it to be finished would
be a long wait.  I'm not sure how the DiaContainerObject would differ
from the object used in newgroup.c.  Notice that newgroup.c fixes
another problem with the current group system: It doesn't remove objects
from the diagram.  The current group system does, which causes it to
break connections leading out of the group.

-Lars




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]