Failed assertions on Preferences / Preferences. First is: gtk_box_gadget_distribute
Description
When I open Eeschema or Pcbnew from the command line (no project loaded) and then click on Preferences / Preferences a lot of failed assertions are spit out in the terminal window. Just by opening the preferences the text is spit out on the terminal. I get these errors either from the KiCad Project manager, Eeschema, Symbol Editor, Footprint Editor or Pcbnew.
Apart from the error messages the applications seem to function.
Edit: Oops: After typing this error report I realized that I use Linux Mint 19.3 with XFCE as desktop and this is not officially supported.
Steps to reproduce
- Start KiCad (Eeschema, Pcbnew, etc) from command line: paul@dualcore:~$ kicad
- Open: Preferences / Preferences
paul@dualcore:~$ kicad
(kicad:14828): Gtk-CRITICAL **: 03:44:45.806: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(kicad:14828): Gtk-WARNING **: 03:44:45.809: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)
(kicad:14828): Gtk-CRITICAL **: 03:44:45.809: gtk_widget_get_preferred_width_for_height: assertion 'height >= 0' failed
(kicad:14828): Gtk-WARNING **: 03:44:45.809: gtk_widget_size_allocate(): attempt to allocate widget with width 0 and height -1
(kicad:14828): Gtk-WARNING **: 03:44:45.809: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)
(kicad:14828): Gtk-CRITICAL **: 03:44:45.809: gtk_widget_get_preferred_width_for_height: assertion 'height >= 0' failed
(kicad:14828): Gtk-WARNING **: 03:44:45.809: gtk_widget_size_allocate(): attempt to allocate widget with width 0 and height -1
(kicad:14828): Gtk-WARNING **: 03:44:45.809: Negative content width -23 (allocation 1, extents 12x12) while allocating gadget (node scale, owner GtkScale)
(kicad:14828): Gtk-CRITICAL **: 03:44:45.809: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScale
(kicad:14828): Gtk-WARNING **: 03:44:45.810: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node spinbutton, owner GtkSpinButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.810: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node spinbutton, owner GtkSpinButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.810: for_size smaller than min-size (0 < 32) while measuring gadget (node entry, owner GtkSpinButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.810: for_size smaller than min-size (0 < 16) while measuring gadget (node button, owner GtkSpinButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.810: for_size smaller than min-size (0 < 16) while measuring gadget (node button, owner GtkSpinButton)
(kicad:14828): Gtk-CRITICAL **: 03:44:45.810: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
(kicad:14828): Gtk-WARNING **: 03:44:45.810: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node checkbutton, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.810: for_size smaller than min-size (0 < 14) while measuring gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-CRITICAL **: 03:44:45.810: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton
(kicad:14828): Gtk-WARNING **: 03:44:45.810: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.810: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)
(kicad:14828): Gtk-CRITICAL **: 03:44:45.810: gtk_widget_get_preferred_width_for_height: assertion 'height >= 0' failed
(kicad:14828): Gtk-WARNING **: 03:44:45.810: gtk_widget_size_allocate(): attempt to allocate widget with width 0 and height -1
(kicad:14828): Gtk-WARNING **: 03:44:45.810: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node checkbutton, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.810: for_size smaller than min-size (0 < 14) while measuring gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-CRITICAL **: 03:44:45.810: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton
(kicad:14828): Gtk-WARNING **: 03:44:45.810: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.810: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node checkbutton, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.810: for_size smaller than min-size (0 < 14) while measuring gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-CRITICAL **: 03:44:45.810: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton
(kicad:14828): Gtk-WARNING **: 03:44:45.810: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.811: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node checkbutton, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.811: for_size smaller than min-size (0 < 14) while measuring gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-CRITICAL **: 03:44:45.811: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton
(kicad:14828): Gtk-WARNING **: 03:44:45.811: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.925: gtk_widget_size_allocate(): attempt to allocate widget with width 263 and height -1
(kicad:14828): Gtk-CRITICAL **: 03:44:45.933: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(kicad:14828): Gtk-WARNING **: 03:44:45.994: gtk_widget_size_allocate(): attempt to allocate widget with width 263 and height -1
(kicad:14828): Gtk-WARNING **: 03:44:45.995: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node spinbutton, owner GtkSpinButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.995: for_size smaller than min-size (0 < 32) while measuring gadget (node entry, owner GtkSpinButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.995: for_size smaller than min-size (0 < 16) while measuring gadget (node button, owner GtkSpinButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.995: for_size smaller than min-size (0 < 16) while measuring gadget (node button, owner GtkSpinButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.996: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node checkbutton, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.996: for_size smaller than min-size (0 < 14) while measuring gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.996: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-CRITICAL **: 03:44:45.996: gtk_widget_get_preferred_width_for_height: assertion 'height >= 0' failed
(kicad:14828): Gtk-WARNING **: 03:44:45.996: gtk_widget_size_allocate(): attempt to allocate widget with width 263 and height -1
(kicad:14828): Gtk-WARNING **: 03:44:45.996: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node checkbutton, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.997: for_size smaller than min-size (0 < 14) while measuring gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.997: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.997: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node checkbutton, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.998: for_size smaller than min-size (0 < 14) while measuring gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.998: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.998: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node checkbutton, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.998: for_size smaller than min-size (0 < 14) while measuring gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:45.998: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node check, owner GtkCheckButton)
(kicad:14828): Gtk-WARNING **: 03:44:46.002: Negative content width -33 (allocation 1, extents 17x17) while allocating gadget (node button, owner GtkButton)
(kicad:14828): Gtk-WARNING **: 03:44:46.002: Negative content width -33 (allocation 1, extents 17x17) while allocating gadget (node button, owner GtkButton)
KiCad Version
Application: KiCad
Version: 5.1.6-c6e7f7d~86~ubuntu18.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 5.3.0-53-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
Curl: 7.58.0
Compiler: GCC 7.5.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=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON
Edited by paulvdhoeven