← Back to team overview

kicad-developers team mailing list archive

Re: Duplicate schematic sheet names.


On Wed, 2011-08-31 at 08:29 -0400, Wayne Stambaugh wrote:
> On 8/31/2011 2:12 AM, jean-pierre charras wrote:
> > Le 30/08/2011 21:44, Wayne Stambaugh a écrit :
> >> I was looking over open bug reports a while back and ran across this report:
> >> https://bugs.launchpad.net/kicad/+bug/593782.  While technically not a bug, I
> >> can understand why a user would be confused by this.  Should we prevent
> >> duplicate sheet names?  In the future it may be a problem as I am trying to
> >> avoid using the current time stamp solution to hierarchical schematic designs
> >> in the new schematic file format for readability reasons.  Anyone else have any
> >> thoughts on this?
> >>
> >> Wayne
> >>
> > 
> > I believe we should not accept duplicate sheet names.
> > Yes this is confusing, and duplicate sheet names are a potential source of bugs.
> > 
> JP,
> Thanks for the reply.  I already have a patch to prevent the user from entering
> duplicate sheet names on a schematic page.  However, it doesn't address the
> case where schematics already have duplicate sheet names.  I'll commit the
> changes that I have and take a look at what can be done for existing schematics.
> Wayne

One possibility is to add a 'description' field (which is what many
users would have been using the 'name' field for if they used
duplicates), copy the name into the description and then unique the name
any way you like. 

> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

Follow ups