Selection highlight in eeschema is magnified after zoom

Bug #1838869 reported by MightyPork
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Low
Jeff Young

Bug Description

A funny bug with highlights.. when you zoom in, an existing highlight is magnified out of proportions. The same happens on zoom-out, the highlight becomes near invisible.

The "bloom" needs to be recalculated after zoom change.

Application: Eeschema
Version: (5.1.0-1426-g120637bd9), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.65.3 OpenSSL/1.1.1c zlib/1.2.11 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh2/1.8.2 nghttp2/1.36.0
Platform: Linux 5.2.3-arch1-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.69.0
    OpenCASCADE Technology: 7.3.0
    Curl: 7.65.3
    Compiler: GCC 9.1.0 with C++ ABI 1013

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

Tags: eeschema
Revision history for this message
MightyPork (mighty-pork) wrote :
Revision history for this message
Jeff Young (jeyjey) wrote : Re: [Bug 1838869] [NEW] Selection highlight in eeschema is magnified after zoom

Yes, this is a known bug. I’ve temporarily moved the selection “halos” to a cached layer so that it appears in the right order between the other layers. However, that means it doesn’t get recalculated after zooming.

I’ve got a query into the other devs to see if there’s a way to interleave cached and non-cached layers. If that doesn’t pan out I’ll have to put in some code to manually redraw all the halos when the zoom changes.

Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
importance: Undecided → Low
milestone: none → 6.0.0-rc1
tags: added: eeschema
Jeff Young (jeyjey)
Changed in kicad:
status: New → In Progress
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 8db81195649819db294772f67c4298098ffc05aa
https://git.launchpad.net/kicad/patch/?id=8db81195649819db294772f67c4298098ffc05aa

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