eeschema doesn't save canvas type to eeschema.json
Description
Change made in Preferences -> Schematic Editor -> Rendering Engine isn't saved between sessions. eeschema.json in user configuration stays unchanged, it's "canvas_type": 1,
all the time.
Steps to reproduce
- I have chosen accelerated canvas in the first start when KiCad asks.
- Open eeschema.
- Open Preferences -> Preferences -> Schematic Editor.
- Change Rendering Engine from Accelerated to Fallback.
- Close Eeschema and KiCad.
- Reopen, open the preferences again.
- Engine is Accelerated.
KiCad Version
Application: KiCad Schematic Editor
Version: (5.99.0-10557-g64afa3a42e), release build
Libraries:
wxWidgets 3.0.5
libcurl/7.74.0 OpenSSL/1.1.1j zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh/0.9.5/openssl/zlib nghttp2/1.43.0 librtmp/2.3
Platform: Linux 5.11.0-17-generic x86_64, 64 bit, Little endian, wxGTK, KDE, x11
Build Info:
Date: May 12 2021 18:20:09
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.1
Curl: 7.74.0
ngspice: 34
Compiler: GCC 10.3.0 with C++ ABI 1014
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_OCC=ON
KICAD_SPICE=ON