Menu

#1851 gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

Bug
closed-fixed
5
2016-09-05
2016-08-06
Chris Mayo
No

With SciTE 3.6.6 Gtk+-3.20.8 on Gentoo Linux

Fix [63f891] for bug [#1831] set minHScrollBarWidth to minimum.height. Patch attached that fixes this for me.

scite --gtk-debug=geometry output with error:

Gtk-Message: gtk_widget_size_allocate:             GtkScrollbar 0 817 12 12, baseline -1

(scite:31575): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate ScintillaObject's child GtkScrollbar 0x28b27c0. Allocation is 12x12, but minimum required size is 46x12.

(scite:31575): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
Gtk-Message: gtk_widget_set_clip:                  GtkScrollbar -1 816 48 14
1 Attachments

Related

Bugs: #1831
Commit: [63f891]

Discussion

  • Neil Hodgson

    Neil Hodgson - 2016-08-10
    • labels: --> scintilla, gtk
    • status: open --> open-fixed
    • assigned_to: Neil Hodgson
     
  • Neil Hodgson

    Neil Hodgson - 2016-08-10

    Committed as [e349c0].

     

    Related

    Commit: [e349c0]

  • Neil Hodgson

    Neil Hodgson - 2016-09-05
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.