Web lists-archives.com

Re: Size allocation warning message

On 2018-06-26, Stefan Salewski wrote:
> On Mon, 2018-06-25 at 23:20 +0200, Rafal Luzynski wrote:
> > I assume this is your application or at least an application
> > for which you have the source code and you are going to fix it.
> That are some of our applications, and at least some of ours get such
> messages since at least one year, for example
> (evince:3250): Gtk-WARNING **: Allocating size to EvSidebar
> 0x55eab6d1b680 without calling gtk_widget_get_preferred_width/height().
> How does the code know the size to allocate?
> There has been multiple complaints about that on this list, but it
> seems to be not really easy to debug.

It is indeed not easy to debug.
The one in Evince is reported against gtk+ here:
https://gitlab.gnome.org/GNOME/gtk/issues/632 (if it's the exact same)
where I analized where it comes from.
gtk-list mailing list