<div dir="ltr">BTW, after some investigation, the reason why this patch does not work within Pd-L2Ork (not to be confused with Purr-Data) is because Pd-L2Ork seeks to ensure that the mouse clicks are handled from the top to bottom and only by the topmost clickable object. Otherwise, patches like these can result in inconsistent behaviors where objects are triggered from the bottom to the top, as opposed to the other way around. Pd-L2Ork has effectively three types of objects, those that are clickable and therefore capture the click without passing it below, those that are not clickable and therefore pass the click to objects below (e.g. comments, or mycanvas), and a new special case, pass-through objects that allow for capturing click while also passing it below. All these account for clicking order (top to bottom). Most importantly, the last category also allows for the creation of the same functionality as the complex xy.pd patch through a single ggee/image instance, making it a lot simpler and less CPU intensive solution. Hope this helps.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><pre cols="72"><pre cols="72">-- <br>Ivica Ico Bukvic, D.M.A.<br>Director, Creativity + Innovation
Director, Human-Centered Design iPhD
Institute for Creativity, Arts, and Technology
</pre><pre cols="72">Virginia Tech<br>Creative Technologies in Music<br>School of Performing Arts – 0141<br>Blacksburg, VA 24061<br>(540) 231-6139<br><a href="mailto:ico@vt.edu" target="_blank">ico@vt.edu</a><br><br><a href="http://ci.icat.vt.edu" target="_blank">ci.icat.vt.edu</a><br><a href="http://l2ork.icat.vt.edu" target="_blank">l2ork.icat.vt.edu</a><br><a href="http://ico.bukvic.net" target="_blank">ico.bukvic.net<br></a></pre></pre></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 22, 2021 at 11:53 AM Ico Bukvic <<a href="mailto:ico@vt.edu">ico@vt.edu</a>> wrote:<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="auto">We need to clarify the distinction between Pd-L2Ork and Purr-Data asap to minimize confusion since they are now two separate projects. Jonathan and Albert, would you make sure your package is renamed to Purr-Data moving forward to minimize confusion? Pd-L2Ork has removed most obvious mentions of Purr-Data for this reason. Thanks.<div dir="auto"><br><div dir="auto">Best,<br><br>Ico<br><br>-- <br>Ivica Ico Bukvic, D.M.A.<br>Director, Creativity + Innovation<br>Institute for Creativity, Arts, and Technology<br><br>Virginia Tech<br>Creative Technologies in Music<br>School of Performing Arts – 0141<br>Blacksburg, VA 24061<br>(540) 231-6139<br><a href="mailto:ico@vt.edu" target="_blank">ico@vt.edu</a><br><br><a href="http://ci.icat.vt.edu" target="_blank">ci.icat.vt.edu</a><br><a href="http://l2ork.icat.vt.edu" target="_blank">l2ork.icat.vt.edu</a><br><a href="http://ico.bukvic.net" target="_blank">ico.bukvic.net</a></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 22, 2021, 11:46 Marc Lavallée <<a href="mailto:marc@hacklava.net" target="_blank">marc@hacklava.net</a>> wrote:<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>
    Le 2021-11-22 à 11 h 22, Ivica Ico Bukvic a écrit :<br>
    <blockquote type="cite">
      
      <p>Hi Marc,</p>
      <p>Are you using Purr-Data or Pd-L2Ork 2.x? </p>
    </blockquote>
    <br>
    Hi Ico,<br>
    <br>
    I compiled a Ubuntu package for Pd-L2Ork 2.x from
    <a href="https://github.com/agraef/purr-data.git" rel="noreferrer" target="_blank">https://github.com/agraef/purr-data.git</a><br>
    I had to change the python requirement to python2 to avoid the
    automatic installation of the python-is-python2 package (I use
    python-is-python3, because we're in 2021)<br>
    Related question: how to compile a Debian/Ubuntu package for
    Purr-Data?<br>
    <br>
    <blockquote type="cite">
      <p>On Pd-L2Ork I get a different error and I will investigate
        shortly. In the meantime, this complicated patch can be easily
        recreated using a single object (or potentially two if you wish
        to use canvas as a single color background) by simply using the
        ggee/image object that allows for pass-through clicks. See its
        help file for more info and look at the control surface subpatch
        in the help file for an example. Hope this helps.</p>
    </blockquote>
    <br>
    I'll take a look, but what I'd prefer is to fix xy.pd ; it is
    included in a software I'm learning for exploring sets of points (as
    a user interface).<br>
    <br>
    <blockquote type="cite">
      <p>Best,</p>
      <p>Ico<br>
      </p>
    </blockquote>
    <br>
    Thanks<br>
    <br>
    Marc<br>
    <br>
    <blockquote type="cite">
      <p> </p>
      <div>On 11/22/2021 10:58 AM, Marc Lavallée
        wrote:<br>
      </div>
      <blockquote type="cite">
        
        Hello l2orkians,<br>
        <br>
        I'm seeking help to debug a useful patch that works fine in
        vanilla PD but not with PD-L2Ork:<br>
        <br>
        <a href="https://forum.pdpatchrepo.info/topic/10854/xy-abstraction-to-get-mouse-click-and-drag-coordinates-vanilla" rel="noreferrer" target="_blank">https://forum.pdpatchrepo.info/topic/10854/xy-abstraction-to-get-mouse-click-and-drag-coordinates-vanilla</a><br>
        <br>
        So with PD-L2Ork there's error messages similar to:<br>
        error: array: couldn't find named array '                    '<br>
        The name itself include non-breaking spaces; it is generated
        from subpatches named "uniqueInvisible", but changing the
        generation method to get visible names does not solve the issue.<br>
        <br>
        For some unknown reason, the "array size" and "array max"
        objects can't find two arrays.<br>
        <br>
        Thanks for your attention.<br>
        <br>
        Marc<br>
        <br>
        <fieldset></fieldset>
        <pre>_______________________________________________
L2Ork-dev mailing list
<a href="mailto:L2Ork-dev@disis.music.vt.edu" rel="noreferrer" target="_blank">L2Ork-dev@disis.music.vt.edu</a>
<a href="https://disis.music.vt.edu/listinfo/l2ork-dev" rel="noreferrer" target="_blank">https://disis.music.vt.edu/listinfo/l2ork-dev</a>
</pre>
      </blockquote>
      <pre cols="72">-- 
Ivica Ico Bukvic, D.M.A.
Director, Creativity + Innovation
Co-Director, Human Centered Design iPhD
Institute for Creativity, Arts, and Technology

Virginia Tech
Creative Technologies in Music
School of Performing Arts – 0141
Blacksburg, VA 24061
(540) 231-6139
<a href="mailto:ico@vt.edu" rel="noreferrer" target="_blank">ico@vt.edu</a>

<a href="http://ci.icat.vt.edu" rel="noreferrer" target="_blank">ci.icat.vt.edu</a>
<a href="http://l2ork.icat.vt.edu" rel="noreferrer" target="_blank">l2ork.icat.vt.edu</a>
<a href="http://ico.bukvic.net" rel="noreferrer" target="_blank">ico.bukvic.net</a></pre>
    </blockquote>
    <br>
    <div id="gmail-m_6186524366423626528m_994197863697135440grammalecte_menu_main_button_shadow_host" style="width:0px;height:0px"></div>
  </div>
</blockquote></div>
</blockquote></div>