Footprint Editor, pad (unnumbered): could not find valid layer for pad.
Description
I wanted to make an aperture pad on F.Paste and halfway through the process I get a senseless and distracting message popup.
Steps to reproduce
-
Place a pad in the Footprint Editor.
-
Edit it's properties.
-
Set Pad Type to SMD Aperture.
-
Uncheck F.Paste
-
Forgot on which layer I wanted to make this aperture pad.
-
... Euhm, Ah, it was on F.Mask.
It's a good thing that KiCad wants to prevent me from making a pad with all layers disabled, but it should do this check only when clicking the [ OK ] button and not during changes of intermediate settings.
The behavior in JS-Reynaud-Nightly V5 an din KiCad-nightly V5.99 is the same in this regard.
KiCad Version V5.1.10
Application: KiCad
Version: 5.1.10-unknown-nightly-202110071751, release build
Libraries:
wxWidgets 3.0.4
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: Linux 5.4.0-88-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OpenCASCADE Technology: 7.5.2
Curl: 7.68.0
Compiler: GCC 9.3.0 with C++ ABI 1013
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=OFF
KICAD_USE_OCC=ON
KICAD_SPICE=ON
KiCad Version V5.99
Application: KiCad Footprint Editor
Version: 5.99.0-unknown-1b7358f93a~141~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.0.4
Platform: Linux 5.4.0-88-generic x86_64, 64 bit, Little endian, wxGTK, xfce, x11
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OCC: 7.5.2
Curl: 7.68.0
ngspice: 31
Compiler: GCC 9.3.0 with C++ ABI 1013
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON