Xgl/Compiz?

Linux specific forum
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Xgl/Compiz?

Post by Beach »

Is anyone using Xgl/Compiz with PureBasic? I know it is bleeding edge stuff - but people are starting to use it more and are now complaining about my apps not working. The app seems to function but the window never forms a system menu and none of the graphics work at all.

Here is an example with Xgl/Compiz:
Image

The terminal has this:

Code: Select all

(fjs_gtk2:22324): 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

(fjs_gtk2:22324): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(fjs_gtk2:22324): Gdk-CRITICAL **: gdk_draw_drawable: assertion `src != NULL' failed
The app normally looks like this:
Image

I have played around with different image properties but nothing seems to work... any help would be greatly appreciated.
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

Hi Beach,

I guess, you're using an image in PNG-Format... right?
Try to use another ImageDecoder... as I stumbled into some problems with the UsePNGxxxx() too when Using the GTK toolbar.... (see: http://www.purebasic.fr/english/viewtopic.php?t=22520)
If that not solves the problem.... :roll:
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Post by Beach »

I was using a 8bit bmp image first to cut down on size. I tried have now tried a 24 bit bmp image, jpg, and png files with no success. All tests worked fine on a non-Xgl/Compiz setup.

Guess I will need to wait until Xgl/Compiz is supported. Fred, any chance you can test this platform when you build PB4 for Linux? I would be more than willing to setup a FreeNX remote desktop for you to test it with.
-Beach
Post Reply