Datasheet fields consisting of nothing but ~ still show as links.

Bug #1779512 reported by Laurent Haas on 2018-06-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Low
Jeff Young

Bug Description

Some symbols selected from the default installed libraries display a single (clickable) "~" in the Datasheet field. Maybe some kind of validity control should be applied to this field to prevent this bogus display (and link)

Application: kicad
Version: (5.0.0-rc3-dev), release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 7 (build 7601, Service Pack 1), 32 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.60.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.54.1
    Compiler: GCC 7.1.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=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Laurent Haas (efcis) wrote :
Jeff Young (jeyjey) on 2018-07-01
summary: - Symbols from the default libraries starting with a tilde in the DEF
- field display a bogus datasheet link
+ Datasheet fields consisting of nothing but ~ still show as links.
Changed in kicad:
status: New → Confirmed
importance: Undecided → Low
Laurent Haas (efcis) wrote :

Also, for the same reason, if such a symbol is used in a schematics, right-click / Open documentation opens a warning "Doc file "~" not found". The menu item should be disabled instead.

Do you want me to report this in another bug report or is it considered as the same bug ?

Jeff Young (jeyjey) wrote :

@Laurent, I think we can consider this the same bug. Thanks for the reports!

Changed in kicad:
milestone: none → 5.0.1
Jeff Young (jeyjey) on 2018-08-13
Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
milestone: 5.0.1 → 5.1.0
status: Confirmed → In Progress
KiCad Janitor (kicad-janitor) wrote :

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

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  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments