UI bug when using action plugins or switching canvas
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Tested with the latest GIT version as of today (101b68b610d433
1. Launch pcbnew (from a project or standalone, does not matter)
2. Execute any action plugin script (may be empty). OR switch the canvas to legacy and back
3. See an assertion on the console:
Gdk-CRITICAL **: IA__gdk_
4. Observe that the current layer combobox gets cleared, and the Layers/Items panel does weird things when switching (see screenshot). Other aspects of the UI also have problems.
I've traced the problem down to the following area:
After executing a plugin, PCB_EDIT_
m_Layers->Freeze() ... m_layers-
Inside LAYER_WIDGET:
m_notebook-
getLayerComp( aRow, 1 )->SetFocus();
I don't understand how this can interfere with freezing/thawing.
tags: | added: pcbnew |
tags: | added: exeidgets |
tags: |
added: wxwidgets removed: exeidgets |
Full version info dump:
Application: pcbnew unknown- 101b68b~ 65~ubuntu16. 04.1, release build compatible with 2.8) GTK+ 2.24
Version: 5.0.0-rc3-
Libraries:
wxWidgets 3.0.2
libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.4.0-130-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.58.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.47.0
Compiler: GCC 5.4.0 with C++ ABI 1009
Build settings: WX_GRAPHICS_ CONTEXT= OFF WX_OVERLAY= OFF SCRIPTING= ON SCRIPTING_ MODULES= ON SCRIPTING_ WXPYTHON= OFF SCRIPTING_ ACTION_ MENU=ON GITHUB_ PLUGIN= ON USE_OCE= ON USE_OCC= OFF
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON