Refilling zone with DRC option "refill all zones" leads to misleading zone display

Bug #1753901 reported by Strntydog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
High
Maciej Suminski

Bug Description

I am using nightly PPA. 5.0 rc2

If you have a zone, and check the DRC option "Refill All Zones before performing DRC" then the zone is refilled, BUT the old zone outline displays on the board, not the recalculated one.

DRC Option: http://i.imgur.com/fNnPuG4.png
Example Board. I placed a GND via over the fill near the SOT23. Did a DRC and chose the option to regerate the zone. : http://i.imgur.com/hKfPJ22.png

The DRC succeeded without error, and stated the zone had been refilled. BUT visually it had not changed. However, rendering a 3D view shows the Zone was in fact, actually changed.

Zooming the window or other redraws does not fix the problem. Refilling the zones with the "B" key does correctly redraw the zone.

This is highly misleading when editing a board, because the visual representation of the board is not the actual board layout.

Version:
Application: kicad
Version: 5.0.0-rc2-dev-unknown-2da7199~62~ubuntu17.10.1, release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.55.1 OpenSSL/1.0.2g zlib/1.2.11 libidn2/2.0.2 libpsl/0.18.0 (+libidn2/2.0.2) librtmp/2.3
Platform: Linux 4.13.0-32-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.62.0
    Curl: 7.55.1
    Compiler: GCC 7.2.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_SPICE=ON

Tags: drc pcbnew
tags: added: pcbnew
removed: zone
Changed in kicad:
milestone: none → 5.0.0-rc2
Changed in kicad:
status: New → In Progress
assignee: nobody → Maciej Suminski (orsonmmz)
importance: Undecided → High
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: In Progress → Fix Committed
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

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.