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

gEDA-bug: [ geda-Bugs-2793743 ] Add new attribute inserts only heading not whole column



Bugs item #2793743, was opened at 2009-05-19 11:18
Message generated for change (Tracker Item Submitted) made by signality
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=2793743&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: gattrib
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andy Fierman (signality)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add new attribute inserts only heading not whole column

Initial Comment:
The version of gattrib I'm using (1.4.0.20080127 from the Debian lenny
repos) has the option to add a new attribute column (Edit > Add new
attribute column).

The problem is that this inserts a new heading but not the whole new column so what happens is that the headings after the newly inserted one shift right but the data in the columns underneath them does not. Hence the attribute values end up being renamed as different attributes. 

Saving this then corrupt the whole schematic. Since there is no "undo" function, the only safe option is to cancel and lose all changes. 

I'll try to illustrate what happens. 

Say all the components in my schematic have attributes A, B and D and I want to add a new attribute C to all the components.

All my components have attribute information already entered for each of A, B and D.

When I run gattrib, I get a table with column headings A, B and D with values under each of the relevant columns.

If I add now a new column C then a new column heading for C is inserted between columns B and D and the existing column D heading is shifted one column to the right.

However, no new column is inserted under the C heading so the existing column contents do not shift right. Therefore, the column contents that were originally under column heading D are now under column heading C whilst the column under heading D is empty.

If I save this then of course all the component attribute values that were originally named D are now named C.

If instead, before I run gattrib, I add the new attribute to at least one instance of a component in the schematic then of course when gattrib is run the table has all four column headings A, B, C and D with the attribute values in the right columns. 

This is clearly not what should happen and seems to reflect the behaviour of gattrib prior to the introduction of the add new attribute function but with the new function partly implemented.  

The attached screenshots show gattrib before and after and the effect on the attributes of one component in the associated gschem schematic. 

Thanks, 

Andy.

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

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


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