3D View image can not be saved - insufficient permissions
Description
When trying to save an image from 3D viewer, an error message about insufficient permissions is displayed while the image is being saved to the project directory to which I definitely have permissions to write.
Steps to reproduce
- Open PCB in Pcbnew
- Open 3D viewer
- Choose File/Export Current View as PNG
- An error message is displayed.
KiCad Version
Application: Pcbnew
Version: 5.99.0-unknown-e9cd9ee~86~ubuntu18.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.15.0-91-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
Build date: Mar 20 2020 14:49:50
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Curl: 7.58.0
Compiler: GCC 7.5.0 with C++ ABI 1011
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
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON