Incorrect Gerber display when using Subtract soldermask from silkscreen (Cairo only)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Unknown
|
Bug Description
Bug description:
When generating Gerber files with the option Subtract soldermask from silkscreen, the Gerber viewer displays incorrectly: the pads disappear if the silkscreen is being displayed above the copper (e.g., if F.SilkS is on Graphic layer 1 and F.Cu on Graphic layer 2). If we click on the copper layer to bring it to the front, then the pads show up again.
The bug seems to be specific to KiCAD 5.0.1 when using the Fallback Modern Toolset (with Accelerated, the buggy behaviour is not present).
To reproduce it:
- Create a new project (I called it kicad-2, under $HOME/tmp)
- Go straight to pcbnew (no schematic needed)
- Menu `Place → Footprint` --- place any randomly chosen SMT footprint (e.g., I selected LQFP-32_
- Draw a trace between two randomly chosen pins (probably not necessary, but it makes it easier to notice the bug)
- Menu `File → Plot...` to create Gerbers; leave everything default except for checking the box `Subtract soldermask from silkscreen` (I didn't even create the drill file --- there are no holes on the board anyway)
- Open Gerber viewer; load silkscreen on Graphic layer 2, load F.Cu layer on Graphic layer 3 (I used 2 and 3 because my color configuration was done for silks on layer 2 and top copper on layer 3)
Click on Graphic layer 2, and the pads disappear. Click on Graphic layer 3, and the pads do show.
For a more detailed description and some screenshots showing the buggy behaviour, see https:/
Environment:
KiCAD 5.0.1 on Ubuntu 18.04. Version info:
Application: gerbview
Version: 5.0.1-33cea8e~
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.15.0-36-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Curl: 7.58.0
Compiler: GCC 7.3.0 with C++ ABI 1011
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
milestone: | none → 5.0.2 |
summary: |
Incorrect Gerber display when using Subtract soldermask from silkscreen + (Cairo only) |
tags: | added: gal gerbview |
Changed in kicad: | |
milestone: | 5.0.2 → 6.0.0-rc1 |
Changed in kicad: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in kicad: | |
importance: | Low → Unknown |
status: | Expired → Fix Released |
Negative objects are incorrectly shown in Cairo canvas (they are drawn on top of other items).
This is a known bug.
What is unknown is the way to fix it.