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

Re: gEDA-user: gattrib: Adding new attribute columns



Hi --

> Say I have attributes A, B , and D in my schematic 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
> data 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, the existing column contents do not. So, 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.

Sound like a bug.

> 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 data in the right columns.

Sounds correct.

> Is that the expected behaviour of this version of gattrib?

No, you have a bug.  I don't recall it behaving this way long ago, but
it's been quite a while since I last hacked or used gattrib.

> I ask because the current gattrib readme implies it is no longer
> necessary to add the new attribute to at least one instance of a
> component in the schematic.

The README is probably older than the "insert column" feature.

Stuart


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