I’m working on a simple 2-layer PCB with through-hole parts. I’ve created my own footprint library for most components to make it easier to find the things I most commonly use (and to tweak some text locations and visibility). On this particular board I have resistors and diodes.
For easy visual inspection I like to select a layer and dim the other layers.
When I do this for the front or back copper layers, the resistor F.Silkscreen outline is still visible but the diodes disappear; when I do this for the F.Silkscreen layer, the diodes’ pads disappear:
Perhaps to confirm whether it is a Kicad problem or a user problem, place a Kicad library diode into your personal library then substitute that for your own footprint.
Eg. Take D_A-405_P10.16mm and “Save as” into your personal Diode library and substitute.
I was actually using my custom footprint for these - a copy of D_DO-34_SOD68_P7.62mm_Horizontal with some changes to the text - so per your suggestion I’ve changed half of the diodes to use the D_DO-34_SOD68_P7.62mm_Horizontal footprint while the other half use my modified footprint.
The result is that diodes with the standard footprint only partially dim or hide:
In your latest set of screenshots, the one that isn’t dimming appears to be selected. Selected footprints aren’t dimmed even if they are on a dimmed layer.
Edit: hmm, on second thought, I think I’m not right.
I thought so too, so I double-checked to make sure it wasn’t selected…
The project files and my custom footprints for the diode and resistors are attached, along with my custom symbol library if you need it. (My footprints and symbols mostly violate the “Pin 1 at the origin” rule, mainly because it makes rotating a part 180º much easier - pin 1 on the schematic somehow always ends up on the wrong end.)
This did persist between several restarts of KiCad - but…
I took a look at the contents of the two .kicad_mod files (it’s nice that they’re plain text files!), and the only significant difference I saw was that my custom one had two extra sections - for “Datasheet” and “Description” - both of which were null. I deleted these from my footprint and then updated the PCB, and now they behave as expected; likewise, the stock footprint also behaves correctly now.
Did my edit have anything to do with this? I have no idea! But at least it’s working properly again (for now)