[sugar] Feedback on Measure (was Re: Another pass through some basic Activity test results)
Mon Sep 29 09:40:29 EDT 2008
On Mon, Sep 29, 2008 at 08:47:36AM -0400, Erik Blankinship wrote:
> > Do you need to do that for each window? Why don't you just listen for
> > that signal in just the main activity window and stop everything when
> > gtk.gdk.VISIBILITY_FULLY_OBSCURED and resume when otherwise?
> Full screen modes in Record completely obscure the main activity window.
> We don't just listen for visibility events on the video windows because
> sometimes these are fully obscured (when transcoding, for example).
> Therefore we listen on both the main activity window and the video windows,
> and in consultation with the activity's current state (fullscreen, normal,
> transcoding), decide if Record is the current activity.
> I've never fully understood the rationale for why the sugar api does not
> alert activities as to when they are active or not, thereby saving all
> activity authors these hassles.
Is there any particular reason why Record does not use a single window?
More information about the Sugar-devel