[squeak-dev] Another control key bug?

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Feb 17 10:26:14 UTC 2020


Okay, I did not know that. I have no idea why I had enabled this preference ... :)


Best,

Christoph

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel
Gesendet: Montag, 17. Februar 2020 11:21:57
An: Javier Diaz-Reinoso via Squeak-dev
Betreff: Re: [squeak-dev] Another control key bug?

I think that for Windows the preference to set is "swapControlAndAltKeys" or "duplicateAllControlAndAltKeys". The preference "duplicateControlAndAltKeys" is deprecated because it just uses a small subset:

defaultCrossPlatformKeys
"Answer a list of key letters that are used for common editing operations
on different platforms."
^{ $c . $x . $v . $a . $s . $f . $g . $z }

There is no $d, for example.

Best,
Marcel

Am 17.02.2020 10:17:27 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:

Hi all,


not sure whether this is bug, but it feels a bit inconvenient.


Steps to reproduce:

  1.  Turn on the preference duplicateControlAndAltKeys.
  2.  In the search bar, press the red button down and hold it pressed
  3.  Enter 6*7
  4.  Press Ctrl + d (on Windows)

Expected behavior:
The code is evaluated (do it).
Actual behavior:
A debugger on the code opens (debug it)!

Notes: This is not a regression by the recent VM changes, I can reproduce it in a Trunk version from last summer.
But I don't think #controlKeyPressed of a keyboard event should be true because a mouse button was down?

Best,
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200217/cada45e4/attachment.html>


More information about the Squeak-dev mailing list