PCBNew: Layer Transparency is reseted when Opacity changed

Bug #1827518 reported by Silviu Laurentiu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Jon Evans

Bug Description

1. Decrease transparency for few layers using { key from keyboard
2. Change the opacity of 20% to any layer.
3. Increase transparency for the layer from above point 2, using } key from keyboard
4. Bug: The transparency of all layers from point 1 will be reset.

   Please see the attached video :-)

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: pcbnew ui
Revision history for this message
Silviu Laurentiu (silviulaurentiu) wrote :
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

How bizarre... Surely the opacity slider in the layer colour picker should use/modify the transparency chosen with the { and } hotkeys?

Changed in kicad:
importance: Undecided → Low
milestone: none → 5.1.3
status: New → Triaged
Revision history for this message
John Beard (john-j-beard) wrote :

@Michael: This looks like an uncomfortable interaction between the layer "swatch" (which is what's shown in the layer pane) and the current layer colour, which is modified with { and }.

The current alpha of the layer set with { and } is not stored in the swatch, it's applied *on top* of the swatch. The indicator to the right (up/down) indicates if the current colour is more/less opaque than the swatch.

The bug is that the the current opacity of a different layer is somehow reset to the swatch value. It makes sense to me that the *current* layer gets the {} opacity reset when the swatch is changed.

Jon Evans (craftyjon)
Changed in kicad:
assignee: nobody → Jon Evans (craftyjon)
Jon Evans (craftyjon)
Changed in kicad:
status: Triaged → In Progress
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 638ac3838c499d1c4d1780e21233a327047fd147
https://git.launchpad.net/kicad/patch/?id=638ac3838c499d1c4d1780e21233a327047fd147

Changed in kicad:
status: In Progress → Fix Committed
tags: added: pcbnew ui
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.