<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
2nd trial (4 MB) was refused as it was exceeding 2048KB.<br>
<br>
So, this one (~ 1 MB) ... Am I alone ?!<br>
<div class="moz-signature"><br>
I will try with Peek to give a larger view on this subject.<br>
Joseph<br>
- - - - - - - - - - - - - - - - - - - -<br>
</div>
<div class="moz-cite-prefix">Le 30/10/2020 à 20:46, Albert Graef a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CA+rUic0N9LDrbq3SN7oZmF5j3+ckR3KQH63BmSWpy4a2PZhm5g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Forgot the attachment, here it is.<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Oct 30, 2020 at 8:45
PM Albert Graef <<a href="mailto:aggraef@gmail.com"
moz-do-not-send="true">aggraef@gmail.com</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="ltr">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Oct 30, 2020 at
6:36 PM Linux ROUEN Normandie <<a
href="mailto:linux.rouen@free.fr" target="_blank"
moz-do-not-send="true">linux.rouen@free.fr</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>1. I'm having an issue with my attached file size
limit (max. 10 MB), so I do need to change my
screencast parameters for getting it smaller. It's
coming soon...<br>
</div>
</blockquote>
<div><br>
</div>
<div>Do you use Peek (<a
href="https://github.com/phw/peek" target="_blank"
moz-do-not-send="true">https://github.com/phw/peek</a>)?
Just a short gif animation showing a rectangular region
of your patch window should be all that's needed. That's
typically not a lot more than a few 100 KBs, like the
one that I attached below.</div>
<div><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>
<div> 2. I have made additional tests. I can confirm
if you start with a totally fresh-empty patch,
Canvas Snap-to-Grid is effectively working well
regardless of the used zoom level... But not with my
existing patches!<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>I also took existing patches. Granted, these probably
aren't as complicated as yours and might use different
font sizes, but I haven't run into any issues with
these.</div>
<div><br>
</div>
<div>Albert<br>
</div>
<div><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>
<div> <br>
Joseph<br>
- - - - - - - - - - - - - - - - - - - -<br>
</div>
<div><br>
Le 30/10/2020 à 16:47, Albert Graef a écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Oct
30, 2020 at 2:10 PM Linux ROUEN Normandie <<a
href="mailto:linux.rouen@free.fr"
target="_blank" moz-do-not-send="true">linux.rouen@free.fr</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>On my side the experience with Purr Data
2.15.2 (Albert's 20201030) under Ubuntu
20.04 / Linux Mint 20.0 is not positive and
the behavior changes with the zoom level.<br>
</div>
</blockquote>
<div><br>
</div>
<div>Joseph, I tried, but I can't reproduce
this. For me, on Manjaro it works exactly the
same on each zoom level. Can you please post a
screencast showing the issue that you're
seeing?</div>
<div><br>
</div>
<div>Also note that if you have multiple objects
selected, *only* the dragged object gets
aligned to the grid, any other selected
objects just move along with it, retaining
their relative positions to the dragged
object.<br>
</div>
<div><br>
</div>
<div>Albert</div>
<div><br>
</div>
<div> <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>
<div> I'm taking the top/left of the objects
being the reference point with a screen
resolution of 1920 x 1080 and Purr Data
Grid = 10.<br>
<br>
With Zoom level = 9.<br>
I take any object and move them with the
mouse. Snap to Vertical grid is OK but not
the horizontal one which -2 pixels down
the grid.<br>
<br>
Change Zoom level = 13.<br>
The reference point of above objects has
moved by -2 pixels to the left and no
change on the horizontal one.<br>
Moving them with the mouse, now Snap to
Vertical grid is effectively -2 pixels
left and the horizontal one is still -2
pixels down. So no possible alignment to
the grid.<br>
<br>
Change Zoom level = 15.<br>
Same as for ZL 13 with more shift: from -2
pixels to -5/6 pixels, but never on the
grid.<br>
<br>
Best, Joseph<br>
- - - - - - - - - - - - - - - - - - - -<br>
</div>
<div><br>
Le 30/10/2020 à 03:47, Albert Graef a
écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On
Thu, Oct 29, 2020 at 10:30 PM
Jonathan Wilkes <<a
href="mailto:jon.w.wilkes@gmail.com"
target="_blank"
moz-do-not-send="true">jon.w.wilkes@gmail.com</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">Canvas
snap-to-grid feature is now
available for review:<br>
<br>
<a
href="https://git.purrdata.net/jwilkes/purr-data/-/merge_requests/597"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://git.purrdata.net/jwilkes/purr-data/-/merge_requests/597</a></blockquote>
<div><br>
</div>
<div>Thanks a bunch, I've really been
waiting for this! :)</div>
<div><br>
</div>
<div>I already merged this into my
testing branch and had a quick look,
works fine for me so far.</div>
<div><br>
</div>
<div>I noticed one cosmetic issue,
though. I'd suggest changing the
translations for <span
id="gmail-m_-4783797363575160255gmail-m_-5775692404097174493gmail-m_2526172687912193077gmail-LC420"
lang="html"><span>prefs.gui.grid.show_grid
and </span></span><span
id="gmail-m_-4783797363575160255gmail-m_-5775692404097174493gmail-m_2526172687912193077gmail-LC417"
lang="html"><span>prefs.gui.grid.show_grid_tt.
This option is still</span></span>
displayed as "grid background in
edit mode" right now, but has
actually become a "snap to grid"
option.</div>
<div><br>
</div>
<div>My suggested translations can be
found at <a
href="https://bitbucket.org/agraef/purr-data/commits/7aca2748"
target="_blank"
moz-do-not-send="true">https://bitbucket.org/agraef/purr-data/commits/7aca2748</a>.
(@Joseph, can you please check my
French? Thanks.)</div>
<div><br>
</div>
<div> I already have these in my
testing branch, so I can add this to
your MR if you want. Just let me
know.</div>
<div><br>
</div>
<div>If anyone else wants to give it a
go, try
purr-data_2.15.2+git4745+7aca2748
which is currently building in the
OBS preview channel at <a
href="https://build.opensuse.org/package/show/home:aggraef:purr-data-git/purr-data"
target="_blank"
moz-do-not-send="true">https://build.opensuse.org/package/show/home:aggraef:purr-data-git/purr-data</a>.</div>
<div><br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Albert-- can you take a look at my
math in canvas_snap_to_grid?<br>
</blockquote>
<div><br>
</div>
<div>Looks good to me!<span
id="gmail-m_-4783797363575160255gmail-m_-5775692404097174493gmail-m_2526172687912193077gmail-LC5821"
lang="c"><span><br>
</span></span></div>
<div> <br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">I
notice that once you start moving
the selection, it kind of "snaps<br>
backwards" to the "floor" gridline.
Is there an easy way to fix it so<br>
it always snaps to the closest
gridline for the general case (e.g.,
in<br>
the assignment to dx/dy below the
snap_got_anchor conditional)?<br>
</blockquote>
<div><br>
</div>
<div>I haven't thought about this in
any depth, but have you tried
rounding just xnew-xwas to the
nearest grid point and finally
adding snap_dx, likewise for y? That
said,<span
id="gmail-m_-4783797363575160255gmail-m_-5775692404097174493gmail-m_2526172687912193077gmail-LC5821"
lang="c"><span> for me it already
works well enough as it is. :)<br>
</span></span></div>
<div><br>
</div>
<div>Albert</div>
<div><br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
-Jonathan<br>
_______________________________________________<br>
L2Ork-dev mailing list<br>
<a
href="mailto:L2Ork-dev@disis.music.vt.edu"
target="_blank"
moz-do-not-send="true">L2Ork-dev@disis.music.vt.edu</a><br>
<a
href="https://disis.music.vt.edu/listinfo/l2ork-dev"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://disis.music.vt.edu/listinfo/l2ork-dev</a></blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Dr. Albert
Gr"af<br>
Computer Music Research
Group, JGU Mainz, Germany<br>
Email: <a
href="mailto:aggraef@gmail.com"
target="_blank"
moz-do-not-send="true">aggraef@gmail.com</a>,
web: <a
href="https://agraef.github.io/"
target="_blank"
moz-do-not-send="true">https://agraef.github.io/</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
L2Ork-dev mailing list
<a href="mailto:L2Ork-dev@disis.music.vt.edu" target="_blank" moz-do-not-send="true">L2Ork-dev@disis.music.vt.edu</a>
<a href="https://disis.music.vt.edu/listinfo/l2ork-dev" target="_blank" moz-do-not-send="true">https://disis.music.vt.edu/listinfo/l2ork-dev</a></pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
L2Ork-dev mailing list<br>
<a href="mailto:L2Ork-dev@disis.music.vt.edu"
target="_blank" moz-do-not-send="true">L2Ork-dev@disis.music.vt.edu</a><br>
<a
href="https://disis.music.vt.edu/listinfo/l2ork-dev"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://disis.music.vt.edu/listinfo/l2ork-dev</a></blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Dr. Albert Gr"af<br>
Computer Music Research Group, JGU
Mainz, Germany<br>
Email: <a
href="mailto:aggraef@gmail.com"
target="_blank"
moz-do-not-send="true">aggraef@gmail.com</a>,
web: <a
href="https://agraef.github.io/"
target="_blank"
moz-do-not-send="true">https://agraef.github.io/</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
L2Ork-dev mailing list
<a href="mailto:L2Ork-dev@disis.music.vt.edu" target="_blank" moz-do-not-send="true">L2Ork-dev@disis.music.vt.edu</a>
<a href="https://disis.music.vt.edu/listinfo/l2ork-dev" target="_blank" moz-do-not-send="true">https://disis.music.vt.edu/listinfo/l2ork-dev</a></pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
L2Ork-dev mailing list<br>
<a href="mailto:L2Ork-dev@disis.music.vt.edu"
target="_blank" moz-do-not-send="true">L2Ork-dev@disis.music.vt.edu</a><br>
<a href="https://disis.music.vt.edu/listinfo/l2ork-dev"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://disis.music.vt.edu/listinfo/l2ork-dev</a></blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Dr. Albert Gr"af<br>
Computer Music Research Group, JGU Mainz,
Germany<br>
Email: <a href="mailto:aggraef@gmail.com"
target="_blank" moz-do-not-send="true">aggraef@gmail.com</a>,
web: <a href="https://agraef.github.io/"
target="_blank" moz-do-not-send="true">https://agraef.github.io/</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Dr. Albert Gr"af<br>
Computer Music Research Group, JGU Mainz, Germany<br>
Email: <a href="mailto:aggraef@gmail.com"
target="_blank" moz-do-not-send="true">aggraef@gmail.com</a>,
web: <a href="https://agraef.github.io/"
target="_blank" moz-do-not-send="true">https://agraef.github.io/</a></div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
L2Ork-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:L2Ork-dev@disis.music.vt.edu">L2Ork-dev@disis.music.vt.edu</a>
<a class="moz-txt-link-freetext" href="https://disis.music.vt.edu/listinfo/l2ork-dev">https://disis.music.vt.edu/listinfo/l2ork-dev</a></pre>
</blockquote>
<br>
</body>
</html>