Hide Forgot
After compiling virt-viewer against GTK+ 3.20 there are two warnings > (remote-viewer:2377): Gtk-WARNING **: Allocating size to SpiceDisplay \ > 0x2266480 without calling gtk_widget_get_preferred_width/height(). How \ > does the code know the size to allocate? and > (remote-viewer:2377): Gtk-WARNING **: Drawing a gadget with negative \ > dimensions. Did you forget to allocate a size? (node box owner ViewAutoDrawer) upon launching remote-viewer from a virtual terminal. A real malfunction corresponding to these messages doesn't seem to exist. But depending on protocol and displayed content the latter tends to get repeated to a degree that does pretty much impair the usage of the shell session. E. g. when using VNC it gets repeated upon each and every change in the desktop that's displayed by remote-viewer. Similar findings in Rhythmbox, see https://bugzilla.gnome.org/show_bug.cgi?id=763435 suggest the problem isn't due to a bug in GTK+ but the applications in question need to get adjusted to some changes introduced in GTK+ 3.20. Seen running a19659e compiled against spice-gtk 0.31 on Arch Linux.
(In reply to Peter Mattern from comment #0) > After compiling virt-viewer against GTK+ 3.20 there are two warnings > > (remote-viewer:2377): Gtk-WARNING **: Allocating size to SpiceDisplay \ > > 0x2266480 without calling gtk_widget_get_preferred_width/height(). How \ > > does the code know the size to allocate? This one is bug 1488249.
The linked bug shows this was addressed in spice-gtk a while ago, so I'm closing this one.