<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi all, I'm facing a bug that is driving me crazy haha.<div><br></div><div>Sometimes, when I scroll down on a <font face="monospace, monospace">SmalltalkEditor</font> 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.</div><div><br></div><div>This is really annoying and it's happening on Pharo too as far as I can tell.</div><div><br></div><div>To get more information of what's happening I added a print on <font face="monospace, monospace">EventSensor>>#fetchMoreEventsDiscardingMouseEvents: discardMouseEvents</font>,</div><div>I've scrolled to the left with my trackpad and then pressed the left arrow key, and I got this:</div><div><div style="line-height:18px"><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)"><span style="color:rgb(106,153,85)"># Meaning of array values by position</span></div><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)"><span style="color:rgb(106,153,85)"># 1, type (2 is keyboard)</span></div><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)"><span style="color:rgb(106,153,85)"># 2, timestamp</span></div><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)"><span style="color:rgb(106,153,85)"># 3, keyvalue</span></div><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)"><span style="color:rgb(106,153,85)"># 4, keypress or release</span></div><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)"><span style="color:rgb(106,153,85)"># 5, modifier keys</span></div><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)"><span style="color:rgb(106,153,85)"><br></span></div><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)"><span style="color:rgb(106,153,85)"># Trackpad <-</span></div><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)">[<span style="color:rgb(181,206,168)">2</span>, <span style="color:rgb(181,206,168)">833516</span>, <span style="color:rgb(181,206,168)">123</span>, <span style="color:rgb(181,206,168)">1</span>, <span style="color:rgb(181,206,168)">15</span>, <span style="color:rgb(181,206,168)">0</span>,  <span style="color:rgb(181,206,168)">0</span>, <span style="color:rgb(181,206,168)">1</span>]</div><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)">[<span style="color:rgb(181,206,168)">2</span>, <span style="color:rgb(181,206,168)">833516</span>, <span style="color:rgb(181,206,168)">28</span>,  <span style="color:rgb(181,206,168)">0</span>, <span style="color:rgb(181,206,168)">15</span>, <span style="color:rgb(181,206,168)">28</span>, <span style="color:rgb(181,206,168)">0</span>, <span style="color:rgb(181,206,168)">1</span>]</div><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)">[<span style="color:rgb(181,206,168)">2</span>, <span style="color:rgb(181,206,168)">833516</span>, <span style="color:rgb(181,206,168)">123</span>, <span style="color:rgb(181,206,168)">2</span>, <span style="color:rgb(181,206,168)">15</span>, <span style="color:rgb(181,206,168)">0</span>,  <span style="color:rgb(181,206,168)">0</span>, <span style="color:rgb(181,206,168)">1</span>]</div><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)"><span style="color:rgb(106,153,85)"># Left arrow key</span></div><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)">[<span style="color:rgb(181,206,168)">2</span>, <span style="color:rgb(181,206,168)">963545</span>, <span style="color:rgb(181,206,168)">123</span>, <span style="color:rgb(181,206,168)">1</span>, <span style="color:rgb(181,206,168)">15</span>, <span style="color:rgb(181,206,168)">0</span>,  <span style="color:rgb(181,206,168)">0</span>, <span style="color:rgb(181,206,168)">1</span>]</div><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)">[<span style="color:rgb(181,206,168)">2</span>, <span style="color:rgb(181,206,168)">963545</span>, <span style="color:rgb(181,206,168)">28</span>,  <span style="color:rgb(181,206,168)">0</span>, <span style="color:rgb(181,206,168)">15</span>, <span style="color:rgb(181,206,168)">28</span>, <span style="color:rgb(181,206,168)">0</span>, <span style="color:rgb(181,206,168)">1</span>]</div><div style="color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(30,30,30)">[<span style="color:rgb(181,206,168)">2</span>, <span style="color:rgb(181,206,168)">963545</span>, <span style="color:rgb(181,206,168)">123</span>, <span style="color:rgb(181,206,168)">2</span>, <span style="color:rgb(181,206,168)">15</span>, <span style="color:rgb(181,206,168)">0</span>,  <span style="color:rgb(181,206,168)">0</span>, <span style="color:rgb(181,206,168)">1</span>]</div><br>This array comes from <font face="monospace, monospace">EventSensor>>primGetNextEvent: array</font> which is a primitive (94), so I think it's a problem in the VM, does someone know what can we do?</div></div><div style="line-height:18px"><br></div><div style="line-height:18px">Thanks,</div><div style="line-height:18px">Gastón</div></div></div></div>