Annotate seems to display only 4 errors

Bug #1785714 reported by Evan Shultz on 2018-08-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
High
Jeff Young

Bug Description

When annotating a schematic, only the last 4 errors seem to be displayed. If I fix those, another 4 errors will be displayed and so on and so forth until there are <4 errors.

I'm reproducing a schematic in KiCad and am retaining the original ref des. Since there wasn't an obvious logic to the ref des ordering, I had to manually set each ref des and I made some typos (duplicated ref des, duplicated unit, etc.). When fixing those errors, I found I couldn't see all errors to fix them at once.

It would be useful if all annotation errors could be displayed at once, or at least a higher limit than 4 (perhaps 10 or 20). This would allow a slightly larger number of manual errors to be displayed, but a hopelessly jacked-up schematic wouldn't hang up because 10-20 errors would occur quickly.

Nick Østergaard (nickoe) wrote :

Please add version info and a screenshot.

Changed in kicad:
status: New → Incomplete
tags: added: eeschema
Evan Shultz (evan-shultz) wrote :

I made an example project to show this. It may be related to having a hier block, or having some duplicate ref des in two instances of the same hier block.

Anyway, please open the schematic and run annotation. You will see:
Error: Multiple item R1 (unit 1)
Error: Multiple item R1 (unit 1)
Error: Multiple item R2 (unit 1)
Error: Multiple item R2 (unit 1)

Nothing mentioned about U1. Correct or delete one of the resistors at the top level and then you'll see more errors (including U1).

As stated above, it's unclear to me why all errors would not be shown but having at least more than 4 displayed would be helpful in the situation I described above.

Application: kicad
Version: (5.0.0), 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 8 (build 9200), 64-bit edition, 64 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=OFF
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Nick Østergaard (nickoe) wrote :

Ok, I see the same behaivour on linux with:

Application: kicad
Version: (6.0.0-rc1-dev-318-g6fdc5972f), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) nghttp2/1.32.0
Platform: Linux 4.17.11-arch1 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.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.0
    Compiler: GCC 8.1.1 with C++ ABI 1012

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

Changed in kicad:
status: Incomplete → Confirmed
Jeff Young (jeyjey) on 2018-09-12
Changed in kicad:
status: Confirmed → Triaged
importance: Undecided → High
assignee: nobody → Jeff Young (jeyjey)
milestone: none → 5.1.0
Jeff Young (jeyjey) wrote :

I removed the hard-coded limit.

Changed in kicad:
status: Triaged → In Progress
Evan Shultz (evan-shultz) wrote :

I wonder if some limit (but more than 4) is prudent in case there is a large number of errors? Or perhaps the percentage of times where this might happen is infinitesimal so no limit is OK?

Jeff Young (jeyjey) wrote :

We allow you to save the report to a file, and you can also filter errors out of the report. I thought about 1000, but I don't really think a limit makes sense here. If you have 1200 duplicates, then we should tell you about them.

KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: In Progress → Fix Committed
Evan Shultz (evan-shultz) wrote :

Confirmed that this is resolved in 5.1 RC1.

Jeff Young (jeyjey) wrote :

Thanks for the confirmation, Evan.

Cheers,
Jeff.

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