Using the DRC/Design Rules Checker, I’m finding this dialog box confusing. Now, I’m still quite new to KiCad, so it could just be my lack of understanding about how things work in the cad drawing world:
“Do you wish to delete excluded markers as well?”
That seems like I should get a Yes or No button. Instead, we have an OK, Cancel, and that’s good enough, where OK = YES and Cancel = NO.
But then there’s the “Delete exclusions” checkbox to the left of the OK button, and this is where I get really confused.
If I’m already answering the “Do you wish to delete excluded markers as well?” with OK = YES or Cancel = NO, then what is this checkbox for?
It seems redundant and it confuses me. Can anyone clarify what checking “Delete exclusions” does, and how it changes the OK = YES and Cancel = NO answer to the main question?
Yes, it seems that the problem is that there is a question AND a checkbox that say/ask the same thing. Thus, the ambiguity as to which thing are you saying OK/Cancel to.
If the box read like this, I wouldn’t be asking here, it would be clear:
Or even like this:
Glad to know I’m not the only one that finds this a bit confusing, so these are my suggestions.
If I were re-doing the dialogue box I think I’d use a tick box (assuming it’s available) and position it after the “Delete exclusions” text . . . . and add a ? mark
Hmmm, to me I see it as that I have hit a button to do a deletion and then a dialogue appears and askes me if I want to delete all markers ? so I can hit ‘ok’ but I get a side order of 'excluded ones as well ? The ‘Delete All Markers’ is why I pressed the button in the first place so the answer is yes (OK) and the ‘Delete exclusions’ is an optional extra in case I had forgotten. Just to be awkward.
I also don’t understand why KiCad would ask for an extra confirmation when you’ve already clicked on a button to delete all markers. Imho, if some option for this is deemed useful, it should be integrated in the DRC window directly, and not as a separate dialog.
I fail to see why this extra dialog has any use. I’d say that at the moment you exclude a warning/error, it’s corresponding error marker should also be removed. I am pretty much indifferent if it got deleted completely. But if you’re interested in this detail, then having a look of when and why it was put into KiCad in the first place is probably a good start.
then having a look of when and why it was put into KiCad in the first place is probably a good start.
So, I searched to see if anyone on this thread had added an issue yet. Then I found this commit for this issue. It looks like that is when the dialog was added.
It appears to have been a fix for another fix and another fix, etc.
Anyway, I created this issue for it, if others want to comment or track it.
Thanks for this paulvdh. In my current project, I may have 150 errors, 100 of which should be excluded because it’s the way I want it to be fabbed. I’m probably doing bad things by not setting up exceptions before I begin, but I don’t know enough yet to know what to exclude before I “cross the line” so to speak and do the bad thing that creates the error.
In my case here, if Delete All Markers also deleted all exclusions without option, then when I ran DRC in the future, I’d have to re-exclude those 100 items every time I re-ran DRC.
So, I see a high value in deleting all markers EXCEPT exclusions, and having the option to choose to delete exclusions or preserve exclusions when deleting all other markers, so the exclusions STAY excluded for each subsequent DRC run.
I only ask for the dialog box to be more clear about what I’m clicking OK to, that’s all.
My previous post was unclear. The code for the dialog content is shared, so the Windows version now has 3 buttons (with the same labels) as well. It’s just that Windows will lay them out horizontally instead of vertically.