Undesired changes made to the “roundrect_rratio” property of some footprints and subsequent DRC violations after a Plot command
Description
In a saved project without any DRC violation, issuing a Plot command, apart plotting, causes undesired changes to the PCB file, indicated by an asterisk to the left of the file name in the title bar. But I have just verified that the status of file modified indicated by the asterisk not always happens. This could mean that the file, sometimes, is changed without notifying the user. The modified property is “roundrect_rratio” and only affects all the connectors in the project and never the other footprints; in this case the affected footprints are all the JST-XH... connectors and one PhoenixContact_MSTBA... connector (all are stock footprints as installed with KiCad). But why not the other footprints?
Updating the affected footprints after having plotted the Gerber files and saving the changed PCB file returns it to its previous state (the affected properties are reverted back to their previous values), but are we sure that the Gerber files were created correcly?
Steps to reproduce
The following project can be used to verify this issue. There are only two self made footprints (the valves) that are included in the fp-info-cache file:
- Unzip the test project, possibly into a separate folder
- Open the test project
- Issue a DRC command to verify that there are no violations
- Issue a plot command
- Verify the presence or not of the asterisk to the left of the file name in the title bar
- If it is there, save the file
- Issue another DRC command and verify 17 DRC violations (warnings)
Following is the DRC report:
Following is an archive containing two copies of the PCB file, one without the undesired changes and one with that changes. For ease of use, you can load them in your preferred difference viewer to view those changes:
PCBs_without_and_with_changes.zip
Application: KiCad x64 on x64
Version: 8.0.0, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
libcurl/8.5.0-DEV Schannel zlib/1.3
Platform: Windows 11 (build 22631), versione 64-bit, 64 bit, Little endian, wxMSW
Build Info:
Date: Feb 23 2024 02:24:15
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.7.1
Curl: 8.5.0-DEV
ngspice: 42
Compiler: Visual C++ 1936 without C++ ABI
Build settings: