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

GRASS GIS trac at osgeo.org
Tue Jun 26 21:18:16 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 mlennert):

 Replying to [comment:7 mlennert]:
 > Replying to [comment:1 annakrat]:
 > > Any idea which checkbox is causing that?
 > Picking up on this and on the redhat bugzilla link in the OP: after some
 tests, it seems to me that it is the "Render" checkbox in the bottom right
 hand corner of the g.gui Map Display or of the d.mon window that causes
 this message. In the default size, both in English and even more so in
 French the label of the checkbox is too long and cannot be displayed
 entirely. If I enlargen the window to the point where the entire label is
 displayed I do not get any of these error messages.

 Just to confirm, not displaying the Render checkbox by commenting the part
 as shown below makes the "gtk_box_gadget_distribute: assertion 'size >= 0'
 failed in GtkCheckButton" errors go away.

 Index: gui/wxpython/mapdisp/frame.py
 --- gui/wxpython/mapdisp/frame.py       (révision 72717)
 +++ gui/wxpython/mapdisp/frame.py       (copie de travail)
 @@ -230,8 +230,8 @@
              self.statusbarItems, mapframe=self, statusbar=statusbar)
              sb.SbMask(self, statusbar=statusbar, position=2))
 -        sbRender = sb.SbRender(self, statusbar=statusbar, position=3)
 -        self.statusbarManager.AddStatusbarItem(sbRender)
 +        #sbRender = sb.SbRender(self, statusbar=statusbar, position=3)
 +        #self.statusbarManager.AddStatusbarItem(sbRender)



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

More information about the grass-dev mailing list