DRC Control dialog Cancel and OK buttons

Bug #1748676 reported by eelik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Jeff Young

Bug Description

The DRC Control dialog has Cancel and OK buttons. It should have only one button, Close, because the user doesn't accept or cancel anything. Showing/removing the markers and re-filling zones could theoretically be undone, but Cancel and OK are usually for situations when nothing has been done yet outside the dialog.

Jeff Young (jeyjey)
Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
Revision history for this message
jean-pierre charras (jp-charras) wrote :

The DRC Control dialog has Cancel and OK buttons because you can set the minimal track width, the minimal via and micro-via sizes.

"because the user doesn't accept or cancel anything" is false.

Revision history for this message
Jeff Young (jeyjey) wrote :

That's only partly true. If you run DRC then they get saved. After that, hitting cancel has no effect (unless you changed them again in the meantime).

Given the "silent save" when running DRC, I'd be inclined to just remove cancel so the user isn't fooled into thinking they can not save any changes.

Revision history for this message
jean-pierre charras (jp-charras) wrote :

Remove cancel is good for me.
But remember you need to have a button with id = wxID_CANCEL to be able to close the dialog by ESC key.

Jeff Young (jeyjey)
Changed in kicad:
milestone: none → 6.0.0-rc1
Jeff Young (jeyjey)
Changed in kicad:
status: New → In Progress
Revision history for this message
Jeff Young (jeyjey) wrote :
Jeff Young (jeyjey)
Changed in kicad:
importance: Undecided → Low
Jeff Young (jeyjey)
Changed in kicad:
milestone: 6.0.0-rc1 → 5.1.0
Jeff Young (jeyjey)
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.