GerbView (modern) doesn't load PT and NPTH holes after changing layer colors

Bug #1747443 reported by Art
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Medium
Jon Evans

Bug Description

I can reproduce this every time. First I load all the layers. Then change layer color for any layer. Then try to load both NPTH and PT layers. Only PT layer shows up in the layer manager. All the holes appear correct. If at this point I go and try to load NPTH layer, it replaces PT layer in the layer manager and both plated and non plated holes are displayed. Some of the holes appear with wrong sizes. For example, I have a footprint with a ground pad and small thermal vias. Those show with the diameter of the board non-plated mounting holes (which are quite large). At this point trying to load any other hole layer doesn't change the hole layer being displayed.

Application: gerbview
Version: (2018-01-26 revision 0d532b43d)-makepkg, release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.60.0
    Curl: 7.54.1
    Compiler: GCC 7.1.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON

Tags: gerbview
tags: added: pcbnew
Revision history for this message
Art (diametrix) wrote :

1. Add all the board layers
2. Change color of any layer
3. Add NPTH and PT hole layers

Jon Evans (craftyjon)
tags: added: gerbview
removed: pcbnew
Changed in kicad:
assignee: nobody → Jon Evans (craftyjon)
Revision history for this message
Jon Evans (craftyjon) wrote :

Hi Art, are you still seeing this? Can you attach some screenshots if so? I'm having trouble reproducing your problem.

Keep in mind that it is normal GerbView behavior to replace the contents of the currently-selected layer when you choose to load a new file. If you don't want to replace the contents, you need to first select an empty layer from the layer manager (it sounds like from your initial bug description that you may not have been doing this?)

Changed in kicad:
status: New → Incomplete
Revision history for this message
Art (diametrix) wrote :

I'm still seeing it. I attached a short screen capture video showing the steps to reproduce the problem.

Changed in kicad:
status: Incomplete → New
Changed in kicad:
milestone: none → 5.0.0-rc2
Jon Evans (craftyjon)
Changed in kicad:
status: New → Incomplete
status: Incomplete → Confirmed
Revision history for this message
Jon Evans (craftyjon) wrote :

Thanks Art, very helpful video

Jon Evans (craftyjon)
Changed in kicad:
importance: Undecided → Medium
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 1ed7d5f8168a0b118edc78d545348333179be739
https://git.launchpad.net/kicad/patch/?id=1ed7d5f8168a0b118edc78d545348333179be739

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.