Fingerprint properties makes the 3D Models paths to be wrong on Fingerprint Editor
Description
Hello,
I'm starting to use Kicad software, and after add some models I've noticed that 3D Search Paths on Paths Configuration is failing when path have UTF8 characters and you try to enter to Fingerprint Properties. For example, I've added a path that contains the word "electrónica" and after save it is right.
I've entered a few times on Path Configuration and still right, but just when I press the Fingerprint Properties button then I receive an error message saying that path doesn't exists (and here is where the UTF8 character in path is wrong).
Then when I enter again in Path Configuration then is wrong.
Steps to reproduce
- Open the Fingerprint editor
- Open "Configure Paths" on "Preferences" Menu
- Add a path on "3D Search Paths" that contains any UTF8 character like for example electrónica and save.
- Press the Fingerprint Properties button to receive an error in the path.
- Finally enter on "Configure Paths" again to see how the path has changed to "Electrónica".
KiCad Version
Application: ModEdit
Version: (5.1.5)-3, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.71.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.66.0
Compiler: GCC 9.2.0 with C++ ABI 1013
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON
Notes
- Looks like only happens on Fingerprint Properties using 3D model paths, because I'm using some Fingerprints and Symbols on same folder and are working.
- Path Configuration seems to be working fine, because I've another fingerprint that is linked to a 3D file (using just the filename instead the full path), and is working fine until I press the "Fingerprint Properties" button and then path is changed.
- Only happens when I press the "Fingerprint Properties" button. When I'm inside the properties I can use the "Configure Paths" to fix the path and then works, but when I save and press the "Fingerprint Properties" button it fails again.
Best regards
Edited by Daniel Carrasco