I've attached another test case. This one doesn't have a dependency on
moko. The test is derived from the GTK documentation's "composited
window example:" http://developer.gimp.org/api/2.0/gdk/gdk-Windows.html
#composited-window-example

To compile:
 gcc `pkg-config --cflags  --libs gtk+-2.0` composite-example.c -o 
composite-example

composite-example displays a window with a button drawn at 50% opacity. There 
are 3 options:
-c draws a colored (red) background on the window
-l draws a list instead of a button
-o draws the button/list at 100% opacity

All combinations of options work properly on Ubuntu Mobile, except '-l
-o'. When run with '-l -o', the test renders just a gray rectangle on
Ubuntu Mobile. The list is not visible, but it should be. This behavior
isn't reproducible on Hardy or Gutsy desktop with or without Compiz, nor
is it reproducible on Hardy desktop using the matchbox window manager.

When run with '-c -l -o' the background is painted red, which fixes the
problem on Ubuntu Mobile.

--

The documentation in the GTK example indicates that a transparent
colormap needs to be set on the parent object. moko does not do this,
which is a separate problem. I'm removing bug 205852 as a duplicate of
this one - while this issue is still a problem, moko also needs to be
fixed.

** Attachment added: "Test case without moko dependency"
   http://launchpadlibrarian.net/13073752/moko-test.c

-- 
Cario_paint can NOT paint composited GtkTreeView context at Hardy
https://bugs.launchpad.net/bugs/202046
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to