I just updated to the last version of Pd (64b windows) and tried it out, and funilly got different results:
- when I click on the array area, i get a report on all array elements. but when I click on an element, only that element is reported.
- when the hot-points of each elements are dragged, only the message from toplevel is sent. also when sliding through other elements while click-drag, no other messages are sent, should something come out when a new element is active?
- when in edit mode, I don't see the array bounds anymore. also it's not possible to select or move the array using the mouse, but it works with select all and keyboard keys.
Best, Joao
I'm happy at least that it's consistent :)
I fixed something that I _think_ was a bug - previously, when I clicked an array that had visible elements , every single element of the array reported the click. I changed the behavior to what I think was originally intended - only the element that is clicked on sends the "click" message to its "struct" object.
for instance in the patch here: msp.ucsd.edu:tmp/z3.pd
when I drag up or down on the hot-points of the small rectangles I get notifications from both that one element and from the array as a whole.
OTOH, if I click in the interior of the rectangle I get no action, since it's not on a hot point. (Perhaps there should be a way to catch that as well? That's a different functionality from a hot-point-click as reported in the "click" message.)
cheers Miller
On 1/12/25 10:33 PM, Roman Haefeli wrote:
On Sun, 2025-01-12 at 21:19 +0100, Roman Haefeli wrote:
Both those findings don't apply to all my patches, thus making debugging a bit more complex.
That's not true. They are consistent, thus easy to report. I was fooled by some patches using iemguis for click detection.
Roman
--- pd-dev@lists.iem.at - the Pd developers' mailinglist https://lists.iem.at/hyperkitty/list/pd-dev@lists.iem.at/message/HZMKJRJ33DK...