Using GtkSocket and GtkPlug result in flickering while drawing
Submitted by Rene Hansen
Hi Gtk team,
Steps to Reproduce: Create a GtkWindow with a GtkSocket child and a GtkPlug with a GtkDrawingArea attached and connected both. Continuously draw on the GtkDrawingArea by creating an idle callback.
Actual results: The GtkWindow starts flickering constantly.
Additional info: A demo app can be found here: https://github.com/rehans/GtkSocketPlugDemo
While this demo works on Ubuntu 16.04 (tested on 3 PCs) with libgtk-3-0:amd64 3.18.9-1ubuntu3.3 amd64 GTK+ graphical user interface library
it starts flickering constantly on Ubuntu 17.04 with libgtk-3-0:amd64 3.22.11-0ubuntu3 amd64 GTK+ graphical user interface library
The Raspberry PI 3 with (Debian Stretch installed) shows the same behavior like Ubuntu 17.04 with libgtk-3-0:armhf 3.22.11-1+rpi3 armhf GTK+ graphical user interface library
The issue is discussed in further detail on the mailing list: https://mail.gnome.org/archives/gtk-list/2017-September/msg00112.html