Unidentified subject!

John M McIntosh johnmci at smalltalkconsulting.com
Fri Feb 23 04:24:02 UTC 2001


>
>So I quit from the Mac system menu, was not asked about saving, and relaunched
>the image. The Counter project has disappeared, but I still cannot get a world
>menu; clicking on the desktop (or what I've come to think of as the desktop at
>least) in my opening Squeak window produces the menu for finding a window. I
>quit and re-launched twice to no avail.


First, the quit from the file menu doesn't go thru Squeak to quit, 
thus no chance to ask you what to do. I have suggested that we queue 
an event on the event queue that we are quitting, thus letting the 
image put up a prompt and or take what ever action is acceptable, for 
a read only image we could just quit for example.

The other choice here is to put up a mac dialog to allow you to 
choose between quit or save and quit which then allows you to quit no 
save if the  VM is in some broken state, passing the event up to 
Squeak to have it handle it might not work in some cases.

For the curious, every 1/2 second the VM will call the routine to 
queue events from the OS UI. That doesn't mean the VM needs to 
process them, but they are read from the OS.


PS Bet your caps lock key was down, I'm going to alter this in 3.0.8 
so caps lock does not set the shift is down attribute, this was a 
request made earlier by SqC this week in fact.

Thoughts?
-- 
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================
Custom Macintosh programming & various Smalltalk dialects
PGP Key: DSS/Diff/46FC3BE6
Fingerprint=B22F 7D67 92B7 5D52 72D7  E94A EE69 2D21 46FC 3BE6
===========================================================================





More information about the Squeak-dev mailing list