[squeak-dev] Another control key bug?

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Mon Feb 17 10:27:39 UTC 2020


Note that the behavior is independent of holding red button down or not.

Le lun. 17 févr. 2020 à 11:26, Thiede, Christoph <
Christoph.Thiede at student.hpi.uni-potsdam.de> a écrit :

> 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 "duplicate*All*ControlAndAltKeys". 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/e411499d/attachment.html>


More information about the Squeak-dev mailing list