pcbnew: Open DRC window overwrites design rules change

Bug #1565263 reported by Berk Akinci on 2016-04-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Undecided
Unassigned

Bug Description

I came across this while trying to work around "track ends too close" errors caused by diffpair router, I came across this: having DRC window open while trying to change design rules has unexpected results.

To reproduce:
- Make sure you have Design Rules with net classes other than Default
- Open a DRC window
- Open Design Rules window
- Change Clearance rule for a net class other than Default
- Close Design Rules window
- Reopen Design Rules window to verify your net class rules actually changed.
- Close Design Rules window again.
- Return to already-open DRC window
- Run DRC: click "Start DRC" button.
- Reopen Design Rules window
- Notice clearance rules for net classes other than Default have reverted to their previous value.

Workaround:
- Close DRC window before changing Design Rules.

Possibly related to Bug #1462929 Change of Design_Rules->Clearance in Pcbnew not working when in OpenGL/Cairo mode

Application: kicad
Version: 4.0.2-stable release build
wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC 4.2.1,STL containers,compatible with 2.8)
Platform: Mac OS X (Darwin 15.4.0 x86_64), 64 bit, Little endian, wxMac
Boost version: 1.57.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=ON
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

Related branches

Changed in kicad:
status: New → Confirmed
Berk Akinci (berka) wrote :

Another possible related issue:
I think changing units mm/in while DRC window is open also mangles Global design rules.
I don't have exact reproduction, but basically, I've had this happen twice.

Changed in kicad:
status: Confirmed → 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