Open tobbelobb opened 6 years ago
I've pushed the commit in 5edf6aaa042cfae2ab9b3039d0b87f374e38de20 as a workaround. There are still negative contents widths, for example when I resize the window such that the right console is hidden:
(pronterface.py:6439): Gtk-WARNING **: Negative content width -2 (allocation 8, extents 5x5) while allocating gadget (node entry, owner GtkEntry)
(pronterface.py:6439): Gtk-WARNING **: Negative content width -5 (allocation 5, extents 5x5) while allocating gadget (node entry, owner GtkEntry)
(pronterface.py:6439): Gtk-WARNING **: Negative content width -8 (allocation 2, extents 5x5) while allocating gadget (node entry, owner GtkEntry)
(pronterface.py:6439): Gtk-WARNING **: Negative content width -9 (allocation 1, extents 5x5) while allocating gadget (node entry, owner GtkEntry)
(pronterface.py:6439): Gtk-WARNING **: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node button, owner GtkButton)
(pronterface.py:6439): Gtk-WARNING **: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node button, owner GtkButton)
(pronterface.py:6439): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)
(pronterface.py:6439): Gtk-WARNING **: Negative content width -9 (allocation 1, extents 5x5) while allocating gadget (node entry, owner GtkEntry)
(pronterface.py:6439): Gtk-WARNING **: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node button, owner GtkButton)
(pronterface.py:6439): Gtk-WARNING **: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node button, owner GtkButton)
(pronterface.py:6439): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)
(pronterface.py:6439): Gtk-WARNING **: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node button, owner GtkButton)
(pronterface.py:6439): Gtk-WARNING **: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node button, owner GtkButton)
The text field beside the send button looks squashed (gone) in your second screendump. Could that be the GtkEntry?
Probably.
As this is now the only bug blocking the 2.x release I think it's time to make a new RC
I had some of the errors as observed in #909's error message:
over and over.
I managed to get rid of them by enlargening the ">" and "+"-buttons.
Commit here
Just enlargening the buttons feels a bit dirty. Shouldn't they automatically resize? I found a discussion somewhere that suggested GTK+3.20 text resize happens at the wrong time: https://trac.wxwidgets.org/ticket/17585