Will KiCad use project-specific libraries over global libraries?
How does KiCad handle things in these examples?
Example 1:
You have the EXACT same libraries loaded for project-specific and global… will it load the project-specific, correct? (yes, the end result would be the same)
Example 2:
Starting from the same position as Example 1, now you add a footprint, called “new.kicad_mod” to any .pretty folder in the global libraries.
Would KiCad recognize this new footprint and load it?
OR… does it stop when it gets to a .pretty folder of the same name?
EDIT: moved to Layout, Footprints category (although with v5 I would assume the behavior would be the same for symbols or footprints)
Lets assume you are running kicad version 4 and talk about footprint libs. (As you mostly talk about pretty directories above)
I tested it in kicad version 4.0.6 and it seems the project local fp-lib-table has a higher priority than the global one. (If a lib with the same name is in both global and project lib table, kicad only looks in the lib referenced in the local table.)
Note that the Nickname (of the lib) is what determines under what name kicad finds the library. This nickname by default is the same as the name of the .pretty directory. But it can be changed using the library manager found under the preferences menu of pcb_new.
I agree with @Rene_Poschl that for footprints, the modified library would load and the footprint could be used.
Modifying the official global libraries is a bad policy as at any time you could overwrite the library.
Creating your own project or global libraries with unique names is much safer.