Selected CrtYd layer not drawn in front

Bug #1829511 reported by Piotr Gałka
32
This bug affects 10 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Jon Evans

Bug Description

In footprint Editor (working with modern toolset (F11)) even if F.CrtYd layer is selected the F.Fab is in front of it.

You see it in attached CrtYd.png file. Two other files show that if those layes are selected they are correctly in front.

Application: kicad
Version: (5.1.2)-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

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

Tags: gal pcbnew
Revision history for this message
Piotr Gałka (piotrgalka) wrote :
summary: - Selected layer not in front in Footprint Editor
+ Selected CrtYd layer not drawn in front in Footprint Editor
Changed in kicad:
milestone: none → 5.1.3
tags: added: pcbnew
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote : Re: Selected CrtYd layer not drawn in front in Footprint Editor

@Piotr does this also occur in Pcbnew?

Revision history for this message
Piotr Gałka (piotrgalka) wrote :

I have noticed something else.
I have defined footprint where I have 3 lines one over another (Silk, CrtYd and Fab).
When I run Footprint editor (Silks is selected) and open this footprint and change working layer to CrtYd it is on top (like it should be). Then if i select Fab - it is on top, then if I select CrtYd it is NOT on top. Since that moment CrtYd never is on top (I am experimenting only with these 3 layers). When Silk - Silk is on top, then selecting CrtYd makes Fab beeing on top.

If i select Silk, select another footprint and then select that my footprint once more then if I select CrtYd it is not on top (when I have done that with first time opened that footprint was on top). So when opened (footprint, not footprint editor) second time it behaves differently then opened first time after running Footprint Editor.

I opened PcbNew.
I added to PCB that my footprint.
When I select Silk, CrtYd, Fab, CrtYd,...
It behaves like Footprint Editor - first time selected CrtYd is on top, then after once selecting Fab no more times CrtYd will be on top (if I select Silk - Silk is on top, then if I select CrtYd then Fab is on top).

Revision history for this message
Piotr Gałka (piotrgalka) wrote :

One more comment. I hope it can help to find the bug.
From what I have written before it could be seen that selecting CrtYd just gets Fab to front - it is not so.

Selecting Silk gets it to front -ok.
Selecting CrtYd gets it in front of Silk, but also gets Fab in front of them both (and it works that way only if Fab was selected at least once before).

summary: - Selected CrtYd layer not drawn in front in Footprint Editor
+ Selected CrtYd layer not drawn in front
tags: added: gal
Jon Evans (craftyjon)
Changed in kicad:
importance: Undecided → Low
assignee: nobody → Jon Evans (craftyjon)
Revision history for this message
Jon Evans (craftyjon) wrote :

Fixed in revision 3625668ff5b807d9ddf190ad521f66e9f6fa44fd
https://git.launchpad.net/kicad/commit/?id=3625668ff5b807d9ddf190ad521f66e9f6fa44fd

Changed in kicad:
status: New → 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

Bug attachments

Remote bug watches

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