7.99 Nightly: Clearance outline around rectangular and square pad drawn strangely

Has someone noticed, or can someone reproduce, that the clearance outline around the rounded rectangular or square pad in the latest 7.99 Nightly is drawn strangely, not matching the pad?
See example in the screenshot below.

(This is a small test project I have used just to see that the nightlies start up, and sometimes for small tests of various new details. Originally created in 6.99 I think, but opens correctly in 7.0.x, and I haven’t noticed this problem in 7.99 Nightly until tonight - can’t say exactly when it has appeared, though.)

The same happens if I pick a THT footprint from the default library that contains a square pad. So it doesn’t seem to be related to the project carried over from previous versions.

Application: KiCad PCB Editor x86_64 on x86_64

Version: 7.99.0-1.20230520git88bf6b2.fc37, release build

Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.2.0
FontConfig 2.14.1
libcurl/7.85.0 OpenSSL/3.0.8 zlib/1.2.12 brotli/1.0.9 libidn2/2.3.4 libpsl/0.21.1 (+libidn2/2.3.3) libssh/0.10.4/openssl/zlib nghttp2/1.51.0

Platform: Fedora release 37 (Thirty Seven), 64 bit, Little endian, wxGTK, KDE, wayland

Build Info:
Date: May 20 2023 17:15:26
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.78.0
OCC: 7.6.3
Curl: 7.85.0
ngspice: 40
Compiler: GCC 12.3.1 with C++ ABI 1017

Build settings:

Looks strange. My nightly install (Version: 7.99.0-1177-g9d452a6097, Win10) is 12hours older and doesn’t shows such a behaviour. Maybe tomorrows version?

Ok, so there are four commits by Mark Roszko that are present in the build I am running and not in yours.
And there are different operating systems.

Potentially it could be either something in one of those commits, or some other issue that shows up only on Linux, or doesn’t show up in Windows 10…

ksnip_20230521-180808

Seems good here.

Application: KiCad PCB Editor x86_64 on x86_64

Version: 7.99.0-unknown-9d452a6097~172~ubuntu22.04.1, release build

Libraries:
wxWidgets 3.2.1
FreeType 2.11.1
HarfBuzz 2.7.4
FontConfig 2.13.1
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.14

Platform: Linux Mint 21, 64 bit, Little endian, wxGTK, cinnamon, x11

Build Info:
Date: May 20 2023 16:03:20
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.2
Curl: 7.81.0
ngspice: 40
Compiler: GCC 11.3.0 with C++ ABI 1016

Build settings:

Ok, so it doesn’t happen on the Ubuntu build from the same commit 9d452a60 as the Windows 10 build.
It is an indication that it might not be OS related, but might be related to any of the four commits mentioned before, though I can’t figure out what it could be. Nothing in those commits seems obviously related to this issue, but then I’m not a professional programmer either…

It also seems to have nothing to do with my specific project, as it is exactly the same if I start a new blank project and place footprints from the default KiCad library as in the screenshot below.

If anyone could test on a newer build - when one becomes available - than the one I have (see the first post), it would be interesting.
Also, if someone runs fedora, that could be interesting too.

Currently there are no May 21st nightly builds available.

Could someone upload a simple test project? (I don’t use the standard libraries.)

I can send a PM with a confidential project, converted from older version to 7.

This is the simplest one I have, same as in the latest screenshot above.
Test_20230521.zip (6.5 KB)

I was staring at those parenthesis and counting them, and had a feeling that this is the kind of spot where it could be, but I didn’t have enough patience to figure out exactly what the calculations did in this context…
I’ll try it out again tonight.

I just tested the fixed warning fix but it didn’t help. Here’s the result of filling zones:

The next fix by JP is already in the queue, but alas it takes almost a full recompilation…

EDIT: and that did it, clearances are OK now.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.