[Cuis-dev] Trackpad issue

Gastón Caruso gstn.caruso at gmail.com
Sun May 5 05:07:01 PDT 2019


A possible workaround to this issue is to disable
#ctrlArrowsScrollHorizontally by default.

Here it is the chage set for this, @Juan Vuletich <juan at jvuletich.org> can
you consider to include this in the base image?

Thanks again!
Gastón


El dom., 5 may. 2019 a las 8:01, Gastón Caruso (<gstn.caruso at gmail.com>)
escribió:

> Hi all, I'm facing a bug that is driving me crazy haha.
>
> Sometimes, when I scroll down on a SmalltalkEditor the scroll right /
> left of my mac trackpad is recognized as a keyboard event including all of
> the modifier keys, which means that it will select all the first line of
> what's in the editor. This is, if you're looking a long method, you'll be
> taken to the first line.
>
> This is really annoying and it's happening on Pharo too as far as I can
> tell.
>
> To get more information of what's happening I added a print on EventSensor>>#fetchMoreEventsDiscardingMouseEvents:
> discardMouseEvents,
> I've scrolled to the left with my trackpad and then pressed the left arrow
> key, and I got this:
> # Meaning of array values by position
> # 1, type (2 is keyboard)
> # 2, timestamp
> # 3, keyvalue
> # 4, keypress or release
> # 5, modifier keys
>
> # Trackpad <-
> [2, 833516, 123, 1, 15, 0, 0, 1]
> [2, 833516, 28, 0, 15, 28, 0, 1]
> [2, 833516, 123, 2, 15, 0, 0, 1]
> # Left arrow key
> [2, 963545, 123, 1, 15, 0, 0, 1]
> [2, 963545, 28, 0, 15, 28, 0, 1]
> [2, 963545, 123, 2, 15, 0, 0, 1]
>
> This array comes from EventSensor>>primGetNextEvent: array which is a
> primitive (94), so I think it's a problem in the VM, does someone know what
> can we do?
>
> Thanks,
> Gastón
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190505/d0138a5b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3725-CuisCore-GastonCaruso-2019May03-03h31m-GC.1.cs.st
Type: application/octet-stream
Size: 278 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190505/d0138a5b/attachment-0001.obj>


More information about the Cuis-dev mailing list