← Back to team overview

scratch team mailing list archive

Re: bug leaving presentation mode with squeak-vm 4.10.2-2614

 

Sooo, I poked at this a bit more (finally got some time!), and discovered
that in  exitPresentationMode (in ScratchFrameMorph under 'view mode'), if I
change 


   TakeOverScreen ifFalse: [
      Smalltalk fullScreenMode: false.
      World restoreDisplay].

to remove the 'Smalltalk fullScreenMode: false.' line:

   TakeOverScreen ifFalse: [
      World restoreDisplay].


then, exiting the presentation mode takes me to a completely functional but
full screen Scratch environment.

Is it expected that a redraw should be inserted in the middle there, or is
something else going on? 



On Mon, Nov 26, 2012 at 10:25:38AM -0500, Amos Blanton wrote:
> Thanks for working on this!
> I've pinged John Maloney about it but I'm not sure he'll have much to add.
> Feel free to email both lists in the future.
> 
> John (our lone Squeak programmer) is quite focused on Scratch 2.0 at the
> moment, but after the release he may have a little more time to chime in
> with suggestions. However, I'd guess that most new issues you are likely to
> encounter will probably have to do with changes to the VM anyhow.
> 
> -Amos
> 
> 
> On Mon, Nov 26, 2012 at 8:54 AM, Bert Freudenberg <bert@xxxxxxxxxxxxxxx>wrote:
> 
> > On 2012-11-26, at 14:37, Matthew Miller <mattdm@xxxxxxxxxx> wrote:
> >
> > > On Mon, Nov 26, 2012 at 12:59:34PM +0100, Bert Freudenberg wrote:
> > >> You can verify the window containment before and after using xwininfo.
> > The
> > >> action is happening in platforms/unix/vm-display-X11/sqUnixX11.c,
> > >> display_ioSetFullScreen(), in case you want to go all gdb on it.
> > >
> > > Hmmm. Both before and after I'm getting
> > >
> > >  xwininfo: Window id: 0x1a00001 "/usr/share/scratch/Scratch.image"
> > >
> > > Does that indicate that this is a different problem?
> >
> > Use the -children or -tree arguments to show the hierarchy.
> >
> > >> Also, best place to get help would be
> > >> http://lists.squeak.org/mailman/listinfo/vm-dev
> > >
> > > Thanks, although I'm slightly afraid I'll get bounced out of that with "I
> > > dunno; some sort of weird Scratch problem." :)
> >
> >
> > Nah, that really sounds like a VM problem. But you could try running Etoys
> > or regular Squeak on the same VM to rule out that it's a Scratch-specific
> > issue.
> >
> > - Bert -
> >
> >
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~scratch
> > Post to     : scratch@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~scratch
> > More help   : https://help.launchpad.net/ListHelp
> >

-- 
Matthew Miller           mattdm@xxxxxxxxxx          <http://mattdm.org/>


Follow ups

References