Highlighting mask layer in dimmed mode highlights copper pads, too
Description
When F.Cu layer is visible along with the F.Mask layer and I switch to dimmed mode so that the mask layer is active, the copper pads get highlighted, too, along with the mask. This can be seen only if the mask color is not 100% opaque. This happens apparently only if the two layers are active in the same pad; removing the mask layer from the pad dims or hides the copper pad.
Steps to reproduce
- Have a footprint pad which has both F.Cu and F.Mask active (and Mask clearance is large that it's easy to detect).
- Set the mask layer color to half-transparent.
- Set the display mode to Dim or Hide, it's easier to see in Hide.
- Activate the mask layer.
- Copper is not dimmed/hidden in pads.
KiCad Version
Version: (5.99.0-8083-g154e19b6e7), debug 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-58-generic x86_64, 64 bit, Little endian, wxGTK, KDE, x11
Build Info:
Date: Jan 3 2021 05:26:59
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OCE: 6.9.1
Curl: 7.68.0
Compiler: GCC 9.3.0 with C++ ABI 1013
Build settings:
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
KICAD_USE_OCE=ON
KICAD_SPICE=OFF
KICAD_STDLIB_DEBUG=OFF
KICAD_STDLIB_LIGHT_DEBUG=OFF
KICAD_SANITIZE=OFF