When I run composite-example -c -l -o at latest hardy+ppa and terminal (moblin built-in), It crash and report, "The program 'composite-example' received an X Window System Error. This probably refects a bug in the program. The error was "Bad Match (invalid paramerter attributes).
When I ssh to Q1 ultra, run "export DISPLAY=:0, composite-example -c -l -o", Everything seem okay. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Magoun Sent: Thursday, April 03, 2008 3:37 AM To: Li, Frank Subject: [Bug 202046] Re: Cario_paint can NOT paint composited GtkTreeViewcontext at Hardy 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 direct subscriber of the bug. -- 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