the laby screen is white instead of the drawing of the ant and the surrounding

Bug #598205 reported by stefaan walleghem on 2010-06-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
laby (Ubuntu)
Undecided
Unassigned

Bug Description

I have compiz and at first it seemed to be the reason why I had the problem.
I tried xwininfo and got

xwininfo: Window id: 0x4000008 "laby"

  Absolute upper-left X: 51
  Absolute upper-left Y: 51
  Relative upper-left X: 1
  Relative upper-left Y: 27
  Width: 1000
  Height: 688
  Depth: 32 ---------------> this should be 24 if the received answers were correct.
  Visual: 0x62
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x4000003 (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners: +51+51 -309+51 -309-29 +51-29
  -geometry 1000x688+50+24

problem is when I used metacity --replace it gave me the exact seem response

the problem laby gave me was

(laby:1914): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(laby:1914): Gdk-WARNING **: /build/buildd/gtk+2.0-2.21.1/gdk/gdkpixbuf-drawable.c:1247: Source drawable has no colormap; either pass in a colormap, or set the colormap on the drawable with gdk_drawable_set_colormap()

I use

Description: Ubuntu maverick (development branch)
Release: 10.10

Kenyon Ralph (kralph) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in laby.

For future reference you might be interested to know that a lot of applications have bug reporting functionality built in to them. This can be accessed via the Report a Problem option in the Help menu for the application with which you are having an issue. You can learn more about this feature at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → laby (Ubuntu)
Stéphane Gimenez (dev-gim) wrote :

This bug is probably due to gtk+2.0 update (2.21).
It's either internal to gtk or maybe lablgtk2 needs an update?
In any case, it's not directly related to laby.

Laby uses GDraw.pixmap without specifying a colormap. But reading lablgtk source code, that means that gdk_widget_get_default_colormap() is used, the return value should be non-NULL, and it should work...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers