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

gEDA-bug: [ geda-Bugs-1692626 ] embeding components uncovers bugs



Bugs item #1692626, was opened at 2007-04-01 21:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=1692626&group_id=161080

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: gschem
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ales Hvezda (ahvezda)
Assigned to: Nobody/Anonymous (nobody)
Summary: embeding components uncovers bugs

Initial Comment:
Debian unstable
ii  geda-gschem                      20061020-2                          GNU EDA

Symbols were included using "Embed component in schematic" and the 
following bugs were observed:

    - Copy a component using "ec", rotate copy by clicking middle mouse button.  Original rotates, too.
    - Copy a component, which has connected nets, using, "ec".    After it has been initially placed, move the component using "m".    Nets which are connected to the original component move as well.

Also, when you select "Embed component in schematic" in the "select component..." dialog, you lose the ability to place the currently selected component until you select another and then select the desired component 
again.

- Create a blank schematic
- Include a connector10-1.sym, Embed component, place on schematic.
- Connect pin 1 to 10, 2 to 9, etc.
- Copy the connector using "ec", place a couple inches to the right and click middle mouse button. Original is corrupted.
- Undo
- Copy connector using "ec", place a bit below the original, do not rotate.
- Select new connector and press "m".   Nets connected to original are corrupted.
- Insert a new connector10-2 with add component, select "Default behavior reference component", add some nets
- repeat copy and rotate, still corrupted
- undo
- repeat copy and move, not corrupted
- Insert a new connector12-1.sym, select "Default behavior  - reference component", place.   This is to separate effects which are due to a previous instance of the same component being embedded.  add some nets.
- repeat copy and rotate, still corrupt
- repeat copy and move, not corrupted

It seems to affect some components more than others.   Connectors are affected but supply components (vdd/gnd) and capacitors seem less affected although the problem of rotatation has been seen occassionally for capacitors.   This may be due to the manner in which these components are used rather than intrinsic behavior.   It appears that only the immediate
ancestor is affected.   If I insert a connector10-1, make a copy, then make a copy of the copy, rotating the third does rotate the second (selected and highlighted component) but not the first. If the third component is placed then rotated in a separate step, the first
two are not affected.   If the first and second copy have nets added and a third copy is mad and then selected and moved, only the second copies nets are affected.   If the first is moved, the nets attached to 
the first are not moved.   Also, once the third component has nets attached, it may be moved without affecting the first two, implying that the copy has residual links to nets that have not been erased that are updated when new nets are connected to pins that had phantom nets (however, connecting to pins that do not have phantom nets doesn't help). It appears that if you connect a net to any pin on a copy that has phantom 
nets, all phantoms are eliminated.

Embedding components is absolutely essential to prevent bit-rot due to library changes or reorganization.   Some of the bugs also occur when not embedding.


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=1692626&group_id=161080


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug