Design Rule Check changes layout (recalculates filled areas)

Bug #1721547 reported by Fabian Binz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Medium
Wayne Stambaugh

Bug Description

Hi,

running the Design Rule Check should not change the layout of your board.
Currently, as part of running the Pcbnew's DRC, the filled areas are recalculated.
If, due to some previous routing, there are overlaps with filled areas, it can lead to the situation displayed in the attached project.
Here, one trace overlaps a filled area.
Now, when running the DRC, this overlap is removed by recalculating the filled areas.
However, the DRC doesn't mention this in any way, so one can easily believe, that the design prior to executing the DRC was correct (and thus leads to ordering wrong layouts…).

In my opinion this is a user interface bug. I understand, that it might be necessary to recalculate the filled areas during the DRC. However, *if* this leads to changes, it should be clearly presented to the user. Maybe something similar to the way in which the user gets asked, if the annotations should be automatically updated, when she tries to export a netlist and some parts are not annotated.

Application: kicad
Version: 4.0.5+dfsg1-4 release build
wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 1010,GCC 6.3.0,wx containers,compatible with 2.8)
Platform: Linux 4.9.0-3-amd64 x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.62.0
libcurl version: 7.52.1 (with SSL - GnuTLS/3.5.8)
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

Tags: drc 4.0.5
Revision history for this message
Fabian Binz (fbinz) wrote :
tags: added: 40 drc
tags: added: 4.0.5
removed: 40
Fabian Binz (fbinz)
description: updated
Changed in kicad:
status: New → Opinion
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

An option needs to be added so users can disable the automatic zone refilling. If I open a board and make no changes, running the DRC may change my board due to changes in the zone filling algorithm which should not happen when the board has not been modified.

Changed in kicad:
importance: Undecided → Medium
milestone: none → 5.0.0-rc2
Changed in kicad:
assignee: nobody → Wayne Stambaugh (stambaughw)
status: Opinion → In Progress
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

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.