Bugs item #1814151, was opened at 2007-10-15 23:23
Message generated for change (Comment added) made by genete
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1814151&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Crasher/nasty bug
Group: SVN version
Status: Open
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Genete (genete)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add a layer inside an exported canvas crash

Initial Comment:
Using svn 933.

If I select a layer inside an exported canvas when the main canvas is active 
and try to add a new layer then synfig crashes. The layer is not added. The 
result message in console is:

synfig(22244): error: Bad canvas passed to "add_layer_to"
Fallo de segmentación (core dumped)

It happens when using the tools from the tool window (Circle, Bline, Rectangle, 
Polygon, Gradient and Draw).  But if you add a layer by the canvas caret menu 
Layer>New Layer then the layer is not added and the console output is:

synfig(22708): error: Bad canvas passed to "add_layer_to"

Then synfig doesn't crash.

--------

On the other hand if I open the exported canvas in other window (only edit the 
exported canvas) then it is possible to add a new layer. 

But in this case when I close the exported canvas the new layer is not 
accessible by the main canvas. It is shown in the drawing area but not in the 
layer list. If I click on the layer it seems that the layer receives the click 
message due to the console output is:

synfig(22353): info: STATE NORMAL: Received mouse button down Event
synfig(22353): info: STATE NORMAL: Received layer click Event, "rectangle"

(The added layer was a rectangle.)

but is not possible select the layer immediately. (In fact is accesible because 
you can fill it with the Fill tool but the layer is not shown in the layer list 
and the ducks are not shown). If I save and load the file then the just added 
layer is accessible. 

Carlos

----------------------------------------------------------------------

>Comment By: Genete (genete)
Date: 2009-07-27 23:30

Message:
Close it as it was fixed

----------------------------------------------------------------------

Comment By: Pixelgeek (pxegeek)
Date: 2008-11-16 04:27

Message:
Tested - it works.  

Thank you dooglus!

----------------------------------------------------------------------

Comment By: dooglus (dooglus)
Date: 2008-11-14 23:58

Message:
SVN r2201 makes it complain with an error dialog now rather than crashing.

It's possible to work around the problem by working in the exported
canvas' separate window (double click the canvas in the canvases panel to
open it)

It's also possible to work around it by making an encapsulation layer
inside the exported canvas, and working in there.  It seems to be only
working at the top level of the exported canvas that is a problem.  This is
probably not intentional...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1814151&group_id=144022

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to