symbol editor (modern toolset): some items are always enabled in RMB menu -> crash

Bug #1828962 reported by eelik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Critical
Jeff Young

Bug Description

"Paste" seems to be always enabled in the context menu in the symbol editor. When clicking on it when there's a symbol in the editor it crashes when there's nothing to paste. (I opened the editor without eeshcema.)

Application: KiCad
Version: (5.1.0-554-gef5c69167), release build
Libraries:
    wxWidgets 3.0.4
Platform: Linux 4.15.0-47-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
    Boost: 1.65.1
    OpenCASCADE Community Edition: 6.9.1
    Compiler: GCC 7.3.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=ON
    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=OFF
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=OFF

Tags: eeschema
Revision history for this message
eelik (eelik) wrote :

Actually it looks like there are more items which shouldn't be there: Symbol Properties and Pin Table. Clicking Pin Table causes a crash. They aren't active in the window's main menu.

1. Open KiCad.
2. Open Symbol Editor.
3. RMB click on empty canvas.
4. There are menu items there which shouldn't be active.

summary: - symbol editor (modern toolset): Paste is always enabled in RMB menu ->
- crash
+ symbol editor (modern toolset): some items are always enabled in RMB
+ menu -> crash
Changed in kicad:
milestone: none → 6.0.0-rc1
tags: added: eeschema
Revision history for this message
Jeff Young (jeyjey) wrote :

I can reproduce the Pin Table crash, but not the Paste one.

Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
importance: Undecided → Critical
status: New → In Progress
Jeff Young (jeyjey)
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.