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

gEDA-bug: [Bug 698575] Re: Add new attribute inserts only heading not whole column



Reproducible with gEDA 1.7.0.

** Changed in: geda
       Status: New => Confirmed

** Changed in: geda
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/698575

Title:
  Add new attribute inserts only heading not whole column

Status in GPL Electronic Design Automation tools:
  Confirmed

Bug description:
  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.




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