<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    BTW, not sure there is a VM issue here. That's just how the VM
    reports scroll events.<br>
    <br>
    Cheers,<br>
    <br>
    On 5/6/2019 9:33 AM, Juan Vuletich via Cuis-dev wrote:
    <blockquote cite="mid:5CD02984.6070700@jvuletich.org" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      Hi Gastón,<br>
      <br>
      I just checked, and the preference is already false by default. So
      I don't think your cs makes any difference.<br>
      <br>
      Please try the attach and tell if it fixes your problems. Usually
      we translate scroll events (that are reported by the VM as
      keyboard events) into mouse events. What the attach does is, if
      any trackpad scroll event is not translated into a mouse scroll
      event, then just ignore it (i.e. don't feed it as a keyboard
      event).<br>
      <br>
      Thanks,<br>
      <br>
      On 5/5/2019 9:07 AM, Gastón Caruso wrote:
      <blockquote
cite="mid:CAJynSskEWsP4LAb09M=G5pknpiU=vDgyRCzbyBTd6HP4WFgsYQ@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div dir="ltr">A possible workaround to this issue is to
            disable #ctrlArrowsScrollHorizontally by default.</div>
          <div><br>
          </div>
          <div>Here it is the chage set for this, <a
              moz-do-not-send="true" class="gmail_plusreply"
              id="plusReplyChip-0" href="mailto:juan@jvuletich.org"
              tabindex="-1">@Juan Vuletich</a> can you consider to
            include this in the base image?</div>
          <div><br>
          </div>
          <div>Thanks again!</div>
          <div>Gastón</div>
          <div><br>
          </div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">El dom., 5 may. 2019 a las
            8:01, Gastón Caruso (<<a moz-do-not-send="true"
              href="mailto:gstn.caruso@gmail.com">gstn.caruso@gmail.com</a>>)

            escribió:<br>
          </div>
          <blockquote class="gmail_quote" style="margin: 0px 0px 0px
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <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<br>
                          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<br>
                          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<br>
                          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<br>
                          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>
                          <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<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(181, 206,
                          168);">2</span>, <span style="color: rgb(181,
                          206, 168);">833516</span>,<br>
                        <span style="color: rgb(181, 206, 168);">123</span>,<br>
                        <span style="color: rgb(181, 206, 168);">1</span>,<br>
                        <span style="color: rgb(181, 206, 168);">15</span>,<br>
                        <span style="color: rgb(181, 206, 168);">0</span>,<br>
                        <span style="color: rgb(181, 206, 168);">0</span>,<br>
                        <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>,<br>
                        <span style="color: rgb(181, 206, 168);">28</span>,<br>
                        <span style="color: rgb(181, 206, 168);">0</span>,<br>
                        <span style="color: rgb(181, 206, 168);">15</span>,<br>
                        <span style="color: rgb(181, 206, 168);">28</span>,<br>
                        <span style="color: rgb(181, 206, 168);">0</span>,<br>
                        <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>,<br>
                        <span style="color: rgb(181, 206, 168);">123</span>,<br>
                        <span style="color: rgb(181, 206, 168);">2</span>,<br>
                        <span style="color: rgb(181, 206, 168);">15</span>,<br>
                        <span style="color: rgb(181, 206, 168);">0</span>,<br>
                        <span style="color: rgb(181, 206, 168);">0</span>,<br>
                        <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<br>
                          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>,<br>
                        <span style="color: rgb(181, 206, 168);">123</span>,<br>
                        <span style="color: rgb(181, 206, 168);">1</span>,<br>
                        <span style="color: rgb(181, 206, 168);">15</span>,<br>
                        <span style="color: rgb(181, 206, 168);">0</span>,<br>
                        <span style="color: rgb(181, 206, 168);">0</span>,<br>
                        <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>,<br>
                        <span style="color: rgb(181, 206, 168);">28</span>,<br>
                        <span style="color: rgb(181, 206, 168);">0</span>,<br>
                        <span style="color: rgb(181, 206, 168);">15</span>,<br>
                        <span style="color: rgb(181, 206, 168);">28</span>,<br>
                        <span style="color: rgb(181, 206, 168);">0</span>,<br>
                        <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>,<br>
                        <span style="color: rgb(181, 206, 168);">123</span>,<br>
                        <span style="color: rgb(181, 206, 168);">2</span>,<br>
                        <span style="color: rgb(181, 206, 168);">15</span>,<br>
                        <span style="color: rgb(181, 206, 168);">0</span>,<br>
                        <span style="color: rgb(181, 206, 168);">0</span>,<br>
                        <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>
          </blockquote>
        </div>
      </blockquote>
      <br>
      <br>
      <pre class="moz-signature" cols="72">-- 
Juan Vuletich
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
  </body>
</html>