Gtk Embed Clutter Stage no longer works in Precise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clutter-1.0 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The upgrade from 1.8.4 to 1.9 in libclutter and/or upgrade of libclutter-gtk from 1.0.4 to 1.1.2 has produced the following error:
Clutter-CRITICAL **: Unable to retrieve the geometry of the foreign window: XGetGeometry() failed (status code: 0)
This error occurs when the application attempts to add the embed clutter stage to the window container (python, gir) the result is that the stage is not rendered ont he window but instead opens a new windows to host the stage.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libclutter-1.0-0 1.9.14-0ubuntu2
ProcVersionSign
Uname: Linux 3.2.0-18-generic i686
ApportVersion: 1.94.1-0ubuntu2
Architecture: i386
CheckboxSubmission: d6ae92d4f627f98
CheckboxSystem: 3e53d3ea5811723
Date: Thu Mar 15 11:58:45 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
TERM=xterm
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: clutter-1.0
UpgradeStatus: Upgraded to precise on 2012-01-17 (58 days ago)
Turns out the app was calling Clutter.init() instead of GtkClutter.init() and this was made more strict in the 1.9 version. (bug: invalid)