After I use the “Remove Unused Pads …”, this VIA does not connect to the zone
Both are same signal.
This via is connected in both layer 2 and layer 3
If I change the VIA annular ring to '‘all copper layer’ in properties dialog , it connects!
But this does not happen for the other VIA and it is connected with the same default properties.
What does your screenshot mean? I’m seeing half a dialog window.
Vias can be placed in two ways, either with automatic net names (convenient when laying down tracks), or with a fixed net name (convenient for via stitching). Your screenshot is apparently from the via properties, and that section is cut off the window.
In that position you don’t have GND planes on the Front and Back copper, KiCad doesn’t do buried vias so cannot have a via that doesn’t connect to the Front and Back copper so it cannot place the via.
Maybe there is some interference with multiple overlapping zones and zone priorities, but it’s a guess.
Are you sure that at least one of the zones on the right side is connected to GNDD?
OK, so perhaps the zones on the right hand example are isolated so are not actually connected to GNDD ? can you zoom out and check in both examples please . . . it might be the difference.
I’m trying to repeat this, but can’t. Can you provide an example board file, maybe remove everything but the zones and the via. This may depend on other than just the connecting zone, so all zones may be necessary.