“Set Track and Via Properties”: clearance not checked
Description
Hi, in 7.0.2, when using the tool “Set Track and Via Properties” (in PCB Editor, menu “Edit”/“Edit Track & Via Properties…”) the clearance is not checked when the width of a track is increased.
I’m pretty sure that, before, if the clearance could not be satisfied when increasing the width of a track, the increase wasn’t operated and the track kept its size.
This problem has been discussed here: https://forum.kicad.info/t/set-track-and-via-properties-locked-trace-width-modified-and-clearance-not-checked/41023
Demo project: track_width_locked.zip
Steps to reproduce
- For default net class, modify (increase) the track width (example it was 0.25 mm, set it to 0.5 mm). Validate.
- Open provided project
- Open "Board Setup" dialog (menu "File->Board Setup..."), select "Design Rules/Net Classes" tab on the left.
- Open "Set track and via properties" dialog (menu "Edit->Edit Track & Via properties...")
- In "Action" section, check radio button "Set to net class values:" and validate.
- Now if you look at the traces, they are wider and the clearances are not respected. If you run the DRC, you get reports about "Clearance violations"
KiCad Version
Application: KiCad PCB Editor x86_64 on x86_64
Version: 7.0.2-6a45011f42~172~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.10.1
HarfBuzz 6.0.0
FontConfig 2.13.1
libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Platform: Ubuntu 20.04.6 LTS, 64 bit, Little endian, wxGTK, xubuntu, x11
Build Info:
Date: Apr 17 2023 07:58:01
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.71.0
OCC: 7.5.2
Curl: 7.88.1
ngspice: 38
Compiler: GCC 9.4.0 with C++ ABI 1013
Build settings:
KICAD_SPICE=ON
(was also present in 7.0.1)