Comment 12 for bug 94201

Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream comment:

"The question is how do we have drawable == NULL in draw_window(). It means
gdk_pixmap_new() returns NULL in wnck_update_drag_icon().

This means one of these is failing:

  g_return_val_if_fail (drawable == NULL || GDK_IS_DRAWABLE (drawable), NULL);
  g_return_val_if_fail ((drawable != NULL) || (depth != -1), NULL);
  g_return_val_if_fail ((width != 0) && (height != 0), NULL);
  if (GDK_IS_WINDOW (drawable) && GDK_WINDOW_DESTROYED (drawable))

drawable in gdk_pixmap_new() is widget->window where widget is the pager. I
can't see how it could be NULL or an invalid drawable or destroyed while
someone is doing a drag and drop.
width and height are not null according to the stack trace.

So I'm lost.

I'd love to know if it's easily reproducable, and if it happens only with
compiz (could explain why I can't reproduce...)."