On my system, zinf only shows a grey box, and outputs
(<unknown>:9368): Gdk-CRITICAL **: gdk_window_set_back_pixmap: assertion `pixmap == NULL || gdk_drawable_get_depth (window) == gdk_drawable_get_depth (pixmap)' failed
(<unknown>:9368): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32
a lot of times. The culprit code is GTKCanvas::Paint()
gdk_window_set_back_pixmap(w->window, m_pBufferBitmap->GetBitmap(), 0);
It happens that the window has depth 32, which is different from the bitmap's depth 24 (obtained from gdk_visual_get_best())
zinf should better handle bitmap depths: GTKBitmap should have a depth parameter, and GTKCanvas use pParent->window's depth.
Log in to post a comment.