KDE: Background color / opacity incorrect in both eeschema and pcbnew
Description
This may be related to KDE Plasma 6 (both KiCad and Plasma upgrades coincided). KiCad is the only desktop application left on wx (for me) so hard to see where the issue lies.
The window background color (labelled 'background' in the color scheme dialog) seems to have some kind of opacity multiplier applied (~0.1 or so), resulting in the background color being very close to the OS window background color. Changing the background color and opacity does change the tint, but only very slightly. Please see the below example with a 100% solid black background set:
The tint mentioned can be seen as the slight color difference between the preview background and the color list background (left).
Especially pcbnew is hard to use like this (with a light OS theme).
Steps to reproduce
N.a., no user action required to hit the issue.
KiCad Version
Application: KiCad x86_64 on x86_64
Version: 8.0.1-rc1-13-g6ced4f72d0, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.13.2
HarfBuzz 8.3.0
FontConfig 2.15.0
libcurl/8.6.0 OpenSSL/3.2.1 zlib/1.3.1 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 libssh2/1.11.0 nghttp2/1.60.0 nghttp3/1.2.0
Platform: Arch Linux, 64 bit, Little endian, wxGTK, Wayland, KDE, wayland
Build Info:
Date: Mar 7 2024 18:54:12
wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.83.0
OCC: 7.7.2
Curl: 8.6.0
ngspice: 42
Compiler: GCC 13.2.1 with C++ ABI 1018
Build settings:
KICAD_USE_EGL=ON