I’ve used the cleanup with all 4 checkboxes on a number of times in my latest KiCad V5.1.6 project:
I started this project in KiCad V4 some 4+ years ago.
It’s no HF, but it’s a double sided uC board and uses plenty of via’s to patch parts of GND planes on both sides together.
At first I was afraid to clean it up this way, but I have not seen via’s deleted I do not want deleted.
Some of the via’s are connected with tracks through the GND plane, because I do not want the “Push and Shove” interactive router to remove GND connections in some area’s, but other GND via’s are just placed with the via stitching tool in the right toolbar, and do not have any traces attached, just 2 GND planes.
All these just seem to stay in the PCB proper.
However, If I do a test, by deleting one of the GND planes, and then re-run the “Cleanup Tracks & Via’s” then a lot of these truly redundant via’s get deleted.
For me it works as expected.
Are you willing to share your project?
I’m kinda curious what sort of Via’s get deleted this way on your board.
On gitlab you suggested I also had “similar operation in 5.99”, while I’ve never used 5.99.
eelik mentioned 5.99, but from his post it does not look like he has encountered is as “similar operation”.
On gitlab you seem to get the same response as my thought. Via’s seem to be deemed redundant if they only connect to a plane on one side of the board.
Also:
Have you tried locking via’s?
(Just hover over a via, and press l)
I’m still curious to have a look at your board.
You can remove most of the footprints if you want to keep your design private.
A solution / workaround is to connect your via’s with some tracks on the other side. But to keep these, it helps to turn of: Pcbnew / Route / Interactive Router Settings / Options: Remove redundant tracks
When doing BUG - List Unconnected, you MUST have the zones filled or you get errors for Gnds that are not connected. This is another operation that requires zones to be filled.