EEschema - symbols, values and references disappear after being selected

Bug #1838655 reported by Art
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Medium
Jeff Young

Bug Description

If I click on a symbol and to select it and then clear the selection by clicking anywhere else on the canvas, all the text field pertaining to that symbol disappear, never to be seen again (unless you restart EESchema). Sometimes portions of the symbol disappear as well. For example, if I click on electrolytic cap text fields and the bottom half of the symbol become highlighted. When I clear the selection, everything that has been highlighted disappears.

Application: KiCad
Version: (5.1.0-1393-gd4e9ddc14), 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 8 (build 9200), 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:
    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: eeschema
Art (diametrix)
summary: - EEschema - symbols and references disappear after being selected
+ EEschema - symbols, values and references disappear after being selected
Revision history for this message
Art (diametrix) wrote :

Turns out, that happens after running DRC. If there are any errors, then the behavior is triggered.

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

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

Changed in kicad:
status: In Progress → Fix Committed
Revision history for this message
Eberhard Seibel (cantor53) wrote :

The descripted bug is much larger:
The text fields of all symbols in a sheet disappear from the sheet. The text fields appear somewhere outside of the sheet.

requirement:
Hierachial schematic

Description:
1. Running DRC
2. Open hierarchial sheet
3. leave sheet
4. Open same or other sheet
   The symbol outlines are in place. The text fields move out of the sheet.

Application: Eeschema
Version: (5.1.0-1426-g120637bd9), 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 8 (build 9200), 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:
    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

no longer affects: ubuntu
Changed in kicad:
status: Fix Committed → New
Revision history for this message
Art (diametrix) wrote :

I'm still seeing this issue in the latest nightly release

Revision history for this message
Art (diametrix) wrote :

Can confirm that all the text fields and portions of certain symbols shift of the sheet. After previously described steps, if you highlight the whole schematic and then click anywhere else on the sheet to de-select it, you end up with a blank schematic (no text fields)

Revision history for this message
Jeff Young (jeyjey) wrote :

@Devs, can anyone reproduce this?

Changed in kicad:
assignee: Jeff Young (jeyjey) → nobody
Revision history for this message
Eberhard Seibel (cantor53) wrote :

Added to #3

After running DRC -> >=1 error detected

Do the steps in "Test project" (Attachment test.zip
0. Open schematic
1. Run DRC -> 2 errors
2.Open Sheet T1
3. Leave sheet
4. Open Sheet T2
5. Leave sheet
-> Global sheet "Test.sch" textfields shift out of sheet (bottom right)
6. Open sheet T1 (the left one)
-> The same result: textfields moved from parts to bottom right.

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

Reproduces for me.

Application: Eeschema
Version: (5.1.0-1439-gedc05b5d5), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
Platform: Mac OS X (Darwin 18.6.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8)
    Boost: 1.70.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.54.0
    Compiler: Clang 10.0.1 with C++ ABI 1002

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

Changed in kicad:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Art (diametrix) wrote :

Here is a video

Revision history for this message
Dino Ghilardi (dino-ghilardi) wrote :

Update:

 Using "standard graphics" instead of "accelerated graphics" does not show the issue and text is back in place.

Revision history for this message
Dino Ghilardi (dino-ghilardi) wrote :

Also switching from "standard" to "accelerated" the error markers disappear, while switching from "accelerated graphics" to "standard graphics" they reappear.

...so it seems related to accelerated graphics on my platform (Debian Linux).

---------------------------------------------------------------------
Application: Eeschema
Version: (5.1.0-1450-g38fc51c3b), release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.52.1 OpenSSL/1.0.2s zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Platform: Linux 4.9.0-8-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.52.1
    Compiler: GCC 6.3.0 with C++ ABI 1010

Build settings:
    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

Jeff Young (jeyjey)
Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
status: Triaged → In Progress
Revision history for this message
Jeff Young (jeyjey) wrote :

Marker drawing translates the GAL, but doesn't Save/Restore it.

Revision history for this message
Jeff Young (jeyjey) wrote :

@Art and @Eberhard, thanks much for tracking this down.

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

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

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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