Hello,
I've pulled latest bleeding clutter and clutter-gst from git. I was tearing
my hair what was wrong with my code for long. I have shortened the scope up
to cutter-gst/examples/video-player.c and watch this.
Basically I add the following two lines lines:
clutter_media_set_playing (CLUTTER_MEDIA (app->vtexture), TRUE);
clutter_actor_show (stage);
+ ClutterActor *test_actor = clutter_text_new_full ("Sans 14", argv[1],
&control_color2);
+ clutter_container_add_actor(CLUTTER_CONTAINER (stage), *test_actor
clutter_main ();
return 0;
Compile, run and so far seems to be okay. But move them over two lines above
(before clutter_media_set_playing()) and test_actor doesn't show up.
Another weird behavior, keep my working code (below clutter_actor_show()),
then skip adding app->control to the stage:
clutter_container_add (CLUTTER_CONTAINER (stage),
app->vtexture,
- app->control,
NULL);
test_actor is visible unless you move mouse pointer over the stage, then it
dissappers. It makes just no sense!
I could give more examples, but anyways this is caused by the same bug? I
suppose.
Regards,
Aarto