EESchema Find and Replace replaces with previous string.Problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
Chris Pavlina |
Bug Description
I'm running 4.0.0-RC2, but this problem occurred in several previous versions of EESchema, going back several years. I'm running Windows 8.1, but I don't think that that matters.
Steps to reproduce:
1. Create a new KiCAD project and open EESchema.
2. Place 3 copies of any component; in this example say 74ls122 from the 74xx library.
3. Open the Find and Replace dialog, and select "Search all component fields" and "Replace component reference designators".
4. Set the "Search for" string to "U?".
5. Click on Find, set the replacement value to "U1" and click on Replace.
6. Click on Find, set the replacement value to "U2" and click on Replace.
7. Click on Find, set the replacement value to "U3" and click on Replace.
The result is 2 chips designated "U1" and the third chip designated "U2". Instead, I would expect three different designations, "U1", "U2" and "U3".
This issue persists through closing and reopening the dialog in the middle of the above scenario too. There are many details about the above scenario which are illustrative only and which aren't necessary to reproduce the problem.
Related branches
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Confirmed. I'll get this one.