[squeak-dev] The Trunk: Kernel-ct.1423.mcz

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Thu Nov 25 11:28:54 UTC 2021


Hi Marcel,


under normal constraints, I would also not recommend turning off this preference. But I can imagine that it might be helpful for debugging purposes, for instance, if you want to test the behavior for another platform ...


Best,

Christoph

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel
Gesendet: Donnerstag, 25. November 2021 11:53:06
An: squeak-dev
Betreff: Re: [squeak-dev] The Trunk: Kernel-ct.1423.mcz

I am surprised that such a preference exists since it is an implicit contract to always write code that runs on all supported platforms.

We should remove this preference ASAP. It is misleading.

Best,
Marcel

Am 25.11.2021 11:35:06 schrieb commits at source.squeak.org <commits at source.squeak.org>:

Christoph Thiede uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ct.1423.mcz

==================== Summary ====================

Name: Kernel-ct.1423
Author: ct
Time: 25 November 2021, 11:34:19.428424 am
UUID: ec2f69bf-0aac-4747-8cc5-5778a713051f
Ancestors: Kernel-mt.1422

Honors Preferences automaticPlatformSettings in EventSensor startUp:.

=============== Diff against Kernel-mt.1422 ===============

Item was changed:
----- Method: EventSensor class>>startUp: (in category 'system startup') -----
startUp: resuming
+
+ (resuming and: [Preferences automaticPlatformSettings]) ifTrue: [
-
- resuming ifTrue: [
Smalltalk platformName = 'Mac OS'
ifTrue: [
self mapAltKeysToOptionKeys: false.
self mapControlKeysToCommandKeys: false]
ifFalse: [
self mapAltKeysToOptionKeys: true.
self mapControlKeysToCommandKeys: true].
self installVirtualKeyTable ].

self default startUp.!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211125/8c71bc6f/attachment.html>


More information about the Squeak-dev mailing list