[GRASS-dev] [GRASS GIS] #3348: wxGTK3: Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

GRASS GIS trac at osgeo.org
Fri Jul 27 05:36:33 PDT 2018


#3348: wxGTK3: Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0'
failed in GtkSpinButton
--------------------------+-------------------------
  Reporter:  neteler      |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.2.4
 Component:  wxGUI        |    Version:  svn-trunk
Resolution:               |   Keywords:  wxGUI
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by ychemin):

 Similar yet different problem here: I tried Moritz sbRender trick, and it
 did not have any effect.

 I am tempted to hide the warnings by this trick, but this is not treating
 the cause of the problem...

 https://stackoverflow.com/questions/3424774/how-to-suppress-gtk-warnings-
 from-a-wxwidgets-wxpython-application

 Here are a tiny sample of the Warnings.

 {{{
 (wxgui.py:4275): Gtk-WARNING **: 22:38:45.307: gtk_widget_size_allocate():
 attempt to underallocate wxPizza's child GtkNotebook 0x55d4d0a42b40.
 Allocation is 749x183, but minimum required size is 829x183.

 (wxgui.py:4275): Gtk-CRITICAL **: 22:38:45.308: gtk_box_gadget_distribute:
 assertion 'size >= 0' failed in GtkNotebook

 (wxgui.py:4275): Gtk-WARNING **: 22:38:45.324: gtk_widget_size_allocate():
 attempt to underallocate wxPizza's child GtkNotebook 0x55d4d0a42b40.
 Allocation is 749x183, but minimum required size is 829x183.

 (wxgui.py:4275): Gtk-CRITICAL **: 22:38:45.324: gtk_box_gadget_distribute:
 assertion 'size >= 0' failed in GtkNotebook
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3348#comment:9>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list