pcbnew: footprint Properties dialog doesn't close with Esc button

Bug #1677324 reported by Eldar Khayrullin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Unassigned

Bug Description

Application: pcbnew
Version: no-vcs-found-8f3423b~58~ubuntu16.10.1, release build
Libraries: wxWidgets 3.0.2
           libcurl/7.50.1 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.33 librtmp/2.3
Platform: Linux 4.8.0-44-generic x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.61.0
Curl: 7.50.1
KiCad - Compiler: GCC 6.2.0 with C++ ABI 1010
        Settings: USE_WX_GRAPHICS_CONTEXT=OFF
                  USE_WX_OVERLAY=OFF
                  KICAD_SCRIPTING=ON
                  KICAD_SCRIPTING_MODULES=ON
                  KICAD_SCRIPTING_WXPYTHON=ON
                  KICAD_SCRIPTING_ACTION_MENU=ON
                  BUILD_GITHUB_PLUGIN=ON
                  KICAD_USE_OCE=ON

Tags: gal pcbnew gui
Revision history for this message
Eldar Khayrullin (eldar) wrote :

Appear only if open footprint Properties dialog and nothing to do in then push Esc button

summary: - pcbnew: Properties dialog doesn't close with Esc button
+ pcbnew: footprint Properties dialog doesn't close with Esc button
Revision history for this message
John Beard (john-j-beard) wrote :

Actually, Enter doesn't work either. Noting in the dialog hs focus and pressing "Tab" produces:

(pcbnew:20196): Gtk-CRITICAL **: IA__gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

Changed in kicad:
status: New → Confirmed
Revision history for this message
John Beard (john-j-beard) wrote :

Not totally helpful backtrace of that assert:

$ G_DEBUG="fatal_warnings" gdb --args pcbnew/pcbnew ~/src/kicad/demos/interf_u/interf_u.kicad_p

...

(pcbnew:22457): Gtk-CRITICAL **: IA__gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

Thread 1 "pcbnew" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff1db1011 in ?? () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0 0x00007ffff1db1011 in () at /usr/lib/libglib-2.0.so.0
#1 0x00007ffff1db241d in g_logv () at /usr/lib/libglib-2.0.so.0
#2 0x00007ffff1db257f in g_log () at /usr/lib/libglib-2.0.so.0
#3 0x00007ffff2f75b6c in gtk_widget_event () at /usr/lib/libgtk-x11-2.0.so.0
#4 0x00007ffff2f892ff in gtk_window_propagate_key_event () at /usr/lib/libgtk-x11-2.0.so.0
#5 0x00007ffff2f89361 in () at /usr/lib/libgtk-x11-2.0.so.0
#6 0x00007ffff2e5d7ac in () at /usr/lib/libgtk-x11-2.0.so.0
#7 0x00007ffff2835f75 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#8 0x00007ffff284837d in () at /usr/lib/libgobject-2.0.so.0
#9 0x00007ffff285066f in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#10 0x00007ffff2850faf in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#11 0x00007ffff2f758cc in () at /usr/lib/libgtk-x11-2.0.so.0
#12 0x00007ffff2e5c04f in gtk_propagate_event () at /usr/lib/libgtk-x11-2.0.so.0
#13 0x00007ffff2e5c32b in gtk_main_do_event () at /usr/lib/libgtk-x11-2.0.so.0
#14 0x00007ffff2ad346c in () at /usr/lib/libgdk-x11-2.0.so.0
#15 0x00007ffff1dab5a7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#16 0x00007ffff1dab810 in () at /usr/lib/libglib-2.0.so.0
#17 0x00007ffff1dabb32 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#18 0x00007ffff2e5b3a7 in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
#19 0x00007ffff6c61265 in wxGUIEventLoop::DoRun() () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#20 0x00007ffff63b8c3b in wxEventLoopBase::Run() () at /usr/lib/libwx_baseu-3.0.so.0
#21 0x00007ffff6ce410d in wxDialog::ShowModal() () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#22 0x00007fffe39b73ef in PCB_EDIT_FRAME::InstallModuleOptionsFrame(MODULE*, wxDC*) (this=0x1f84b20, Module=
    0x3861fd0, DC=0x0) at /home/john/src/kicad/pcbnew/editmod.cpp:62
#23 0x00007fffe3a167f6 in PCB_EDIT_FRAME::OnEditItemRequest(wxDC*, BOARD_ITEM*) (this=0x1f84b20, aDC=0x0, aItem=0x3861fd0) at /home/john/src/kicad/pcbnew/onleftclick.cpp:582
#24 0x00007fffe3ad58a0 in EDIT_TOOL::Properties(TOOL_EVENT const&) (this=0x3d0e160, aEvent=...)

Revision history for this message
Eldar Khayrullin (eldar) wrote :
Changed in kicad:
status: Confirmed → Fix Committed
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

Remote bug watches

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