Re: [clutter] Weird bug with fullscreen

2009-01-08 Thread Pedro Casagrande de Campos
Hi,


I'm having a problem related to the message bellow. I need to deploy a
clutter application embedded on an USB disk.

To accomplish this I bootstrapped an Ubuntu 8.10 installation without
any window manager and configured the application to start on boot.
This used to work on clutter 0.6. The problem is that the program
doesn't takes all the screen as intended on clutter 0.8. The window is
clipped on the upper left corner of the screen.

I'm trying to run this application on a i915 video card. This is the
stage configuration:

stage = clutter_stage_get_default ();
clutter_stage_fullscreen (CLUTTER_STAGE (stage));
clutter_stage_hide_cursor (CLUTTER_STAGE (stage));

I can fill a bug if this is the case.


Thanks in advance,
Pedro Casagrande

2008/10/9 Mike Massonnet 
>
> Hello,
>
> Yesterday on IRC I mentionned a bug with fullscreen and it's getting
> weirder.  I thought I could only trigger it on one board, but now I can
> trigger it on any boards.
>
> When I pass a stage to fullscreen it takes only a quarter of the display
> (close to that).
>
> What I do is next:
>
>stage = clutter_stage_get_deault ();
>clutter_stage_fullscreen (CLUTTER_STAGE (stage));
>clutter_actor_show (stage);
>
> This doesn't work.
>
>
> Now I tried this:
>
>stage = clutter_stage_get_deault ();
>clutter_stage_fullscreen (CLUTTER_STAGE (stage));
>/* Add actors to the stage ... */
>clutter_actor_set_size (stage, 1024, 768); // or 800 or -1 or ...
>clutter_actor_show (stage);
>
> This "works".
>
>
> And finally I stumbled over this:
>
>stage = clutter_stage_get_deault ();
>clutter_stage_fullscreen (CLUTTER_STAGE (stage));
>clutter_actor_show_all (stage); // show_all!
>
> And that one Just Works.
>
> I triggered some weird stuff with fullscreen, but finally I got it!
>
>
> My 2 cents,
> Mike
> --
> To unsubscribe send a mail to clutter+unsubscr...@o-hand.com
>
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] Weird bug with fullscreen

2008-10-09 Thread Mike Massonnet
Hello,

Yesterday on IRC I mentionned a bug with fullscreen and it's getting
weirder.  I thought I could only trigger it on one board, but now I can
trigger it on any boards.

When I pass a stage to fullscreen it takes only a quarter of the display
(close to that).

What I do is next:

stage = clutter_stage_get_deault ();
clutter_stage_fullscreen (CLUTTER_STAGE (stage));
clutter_actor_show (stage);

This doesn't work.


Now I tried this:

stage = clutter_stage_get_deault ();
clutter_stage_fullscreen (CLUTTER_STAGE (stage));
/* Add actors to the stage ... */
clutter_actor_set_size (stage, 1024, 768); // or 800 or -1 or ...
clutter_actor_show (stage);

This "works".


And finally I stumbled over this:

stage = clutter_stage_get_deault ();
clutter_stage_fullscreen (CLUTTER_STAGE (stage));
clutter_actor_show_all (stage); // show_all!

And that one Just Works.

I triggered some weird stuff with fullscreen, but finally I got it!


My 2 cents,
Mike
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]