Can't open pdf from kicad when path contains spaces

Bug #1783667 reported by Fabián Inostroza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Maciej Suminski

Bug Description

That's it.

I found a similar bug report that has been marked as fixed:
https://bugs.launchpad.net/kicad/+bug/1385953

The function OpenPDF in gestfich.cpp uses the "file" (unquoted path) variable instead of "filename" when using the default application.

Application: kicad
Version: (5.1.0-dev-155-g3851772d1-dirty), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.60.0 GnuTLS/3.5.18 zlib/1.2.11 libidn2/2.0.4 libpsl/0.20.2 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.32.0 librtmp/2.3
Platform: Linux 4.17.0-1-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.62.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.60.0
    Compiler: GCC 7.3.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=OFF

description: updated
Changed in kicad:
importance: Undecided → Low
milestone: none → 5.0.1
Changed in kicad:
assignee: nobody → Maciej Suminski (orsonmmz)
status: New → In Progress
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision bbfc1eb12c060c76e8696458cf4248eb91b8eb8b
https://git.launchpad.net/kicad/patch/?id=bbfc1eb12c060c76e8696458cf4248eb91b8eb8b

Changed in kicad:
status: In Progress → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.