[squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

Bernhard Pieber bernhard at pieber.com
Mon Oct 19 19:28:24 UTC 2009


I just had an idea. Even if we do not store top/left, it might be an  
improvement to use x/0 as top/left, where x would be the menubar height.

What do others think?

Cheers,
Bernhard

Am 30.09.2009 um 22:24 schrieb John M McIntosh:

> Ah, yes well the VM has never had a concept of storing the top/left  
> position of the window. It does store the width/height.
> At the start of time the squeak window was set to
> 	Rect windowBounds = { 44, 8, 408, 648 };  /* default window bounds */
> 	//Dec 17th, 1996 9:21 AM
>
>
> Currently it's
> 	window = SetUpWindow(44, 8, 44+height,  
> 8+width,gSqueakWindowType,gSqueakWindowAttributes);
>
> So as you see it's not been an issue for any of the developers to re- 
> think.
> I did make a mantis report http://bugs.squeak.org/view.php?id=7400
>
> To fix we would have to store the top/left somewhere in the image,  
> then consider issues about platform dependencies and
> when you move between machines that have multiple screens, or single  
> screens of different sizes.
>
> On 2009-09-30, at 1:03 PM, Bernhard Pieber wrote:
>
>> Hi John,
>>
>> One very small thing I noticed: I maximize the Squeak window, save  
>> the image and open it again. Then the window is moved some pixels  
>> to the right so that it extends under the dock. Maximizing again  
>> with the green window button fixes it, so it is very minor.
>>
>> Thanks for your effort building the VMs!
>>
>> Cheers,
>> Bernhard




More information about the Squeak-dev mailing list