"A Word of Caution" to all newcomers

Milan Zimmermann milan.zimmermann at sympatico.ca
Thu Dec 2 21:02:52 UTC 2004


This made me think, in case a preference such as copy/paste keystrokes depend 
on the desktop environment, or are configurable within the environment - is 
there something that would be able to ask the Squeak VM for such settings? 
(assuming the VM would need to be supplied with such info .. somehow) 

(I have not used Gnome for a while, but I believe there is still CTRL-C on 
KDE,  ALT-C on Gnome, so to merely say If Linux is not really enough) 

Thanks Milan

On December 2, 2004 03:49 pm, Andreas Raab wrote:
> Hi Joshua -
>
> > Ok, cool.  I will definitely do that with the Set>>atRandom: bug.
>
> That's my boy ;-)
>
> > I think it would be better if others with more experience with
> > Squeak startup should get to this key issue before I do - after
> > all I'd have to figure out how to fix that one, test it etc.
> > and frankly, other than simply changing the setting and saving
> > an image with the right setting I'm not sure what to suggest -
> > for a running image, the change set would be to immediately change
> > a global not to change code, but for a new Squeak version the change set
> > would be to change code that I don't know how to test!
>
> This is why I referred you SmalltalkImage>>setPlatformPreferences. If you
> browse the senders of that method you will find that it is triggered if
> another preference (automaticPlatformSettings - covering whether we want to
> set some prefs automatically depending on the platform) is enabled. By
> default, automaticPlatformSettings is on, and thus this code is called and
> thus all it takes is to change that code to [duplicate|swap] the keys when
> we're running on Windows.
>
> Testing is harder if you don't have multiple machines at hand but that's
> why you have this list - ask someone to load it and to test for you. Write
> a unit test so that you state your assumptions clearly and the people
> testing it can report back why and where something failed (if the test
> fails).
>
> (and yes, it would be faster for me to do it myself but this is just to
> great of an educational opportunity to miss ;-)
>
> Cheers,
>   - Andreas




More information about the Squeak-dev mailing list