EESchema component editor. The axes disappear after clicking the "Change cursor shape" button in the eeschema component editor

Bug #1822408 reported by Anton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
jean-pierre charras

Bug Description

Application: kicad
Version: (5.1.0-rc2-26-g643d884fd), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.63.0 OpenSSL/1.1.1a zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.34.0
Platform: Linux 4.19.8-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+ 2.24
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.63.0
    Compiler: GCC 8.2.1 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=OFF
    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

See the attachment.

Tags: eeschema
Revision history for this message
Anton (antonpupkov) wrote :
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

It also happens when changing the Grid Style in Symbol Editor Display Options.

Application: kicad
Version: (5.1.0-0), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.54.0 LibreSSL/2.6.4 zlib/1.2.11 nghttp2/1.24.1
Platform: Mac OS X (Darwin 18.2.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    wxWidgets: 3.0.4 (UTF-8,STL containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.54.0
    Compiler: Clang 9.0.0 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=ON
    USE_WX_OVERLAY=ON
    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

Changed in kicad:
importance: Undecided → Low
milestone: none → 5.1.1
status: New → Triaged
Revision history for this message
Anton (antonpupkov) wrote :

+1

Changed in kicad:
milestone: 5.1.1 → 5.1.2
Changed in kicad:
milestone: 5.1.2 → 5.1.3
tags: added: eeschema
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

@Anton, I don't think this is a bug. Try enabling the "Always show crosshairs (not in Legacy)" option on the "Display Options" panel in the symbol editor "Preferences" dialog.

Changed in kicad:
status: Triaged → Incomplete
importance: Low → Undecided
milestone: 5.1.3 → none
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

@Wayne, enabling the "Always show crosshairs (not in Legacy)" option also makes the blue axes disappear in the symbol editor. This is a bug that is not present in the footprint editor (note the blue axes against the black background are difficult to see).

Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

Looks like adding

GetGalDisplayOptions().m_axesEnabled = true;

to eeschema/libedit/lib_edit_frame.cpp:185 fixes this. See pcbnew/footprint_edit_frame.cpp:246 (it is missing in libedit).

I don't know why GAL_DISPLAY_OPTIONS::m_axesEnabled and GAL::axesEnabled have to be specified separately though.

Revision history for this message
Anton (antonpupkov) wrote :

@Wayne if you don't know please watch the video. I try to demonstrate it, how it correlates. Main problem is axes disappears and visual center of canvas are lost. And how place symbol with relaton with lost visual centre of canvas. How it places in eeschema?

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: Incomplete → Fix Committed
assignee: nobody → jean-pierre charras (jp-charras)
Changed in kicad:
milestone: none → 6.0.0-rc1
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

@JP, can you cherry pick your patch to the 5.1 branch or is it only applicable to the master branch? If it's master only, I can apply Michael's patch to the 5.1 branch.

Changed in kicad:
importance: Undecided → Low
milestone: 6.0.0-rc1 → 5.1.3
Revision history for this message
jean-pierre charras (jp-charras) wrote :

My fix is very similar to Michael's patch.
It can apply to the 5.1.3 branch, but I did not see this issue in 5.1.3 branch.
Did you?

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

Yes, only on windows. I also tested Michael's patch and it did resolve the issue. Please cherry pick your commit when you get a chance so we can fix this in the 5.1.3 release. Thanks.

Revision history for this message
jean-pierre charras (jp-charras) wrote :

@Wayne,

I just committed the fix in stable branch.

In fact this issue can happens or not, depending on what was stored in eeschema config.
(It explains why I did not see it in stable branch)

Now, the axis are always shown, whatever the previous eeschema config.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

Thanks JP!

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.