Skip to content

Duplicate Ref. when sheets share name prefix #21

@mdavidsaver

Description

@mdavidsaver

I think I have an interesting corner case. As odd as it seems. I think sheet names are somewhere being compared by string prefix.

We have a circuit with 32 identical channels. These were initially named Channel1 -> Channel9, Channel10 -> Channel19, ...

This produces the odd result that "Channel1" seems to be confused with "Channel11", "Channel2" with "Channel21", and "Channel3" with "Channel31".

I am able to reproduce this with the place_footprints.kicad_pro example project by adding "Sheet21", which is confused with "Sheet2".

place-dialog

R1001 is not actually duplicated, and R301 is actually present.

I can rename "Sheet2" -> "Sheet02" as a workaround.

place-dialog2

I am running kicad 7.0.10 (Debian 12) with PlaceFootprints 2.1.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions