[PD] drag and drop - tkdnd on osx

Lucas Cordiviola lucarda27 at hotmail.com
Tue Oct 30 09:19:05 CET 2018

Hi Dan,

We are working on this (attached) with oliver.

Any thoughts?


Mensaje telepatico asistido por maquinas.

On 10/30/2018 5:00 AM, Dan Wilcox wrote:
It seems like the plugin could use a companion "drop target" object, like a cnv but registers drops and sends a message like "$arg $arg $arg was dropped on me."

On Oct 29, 2018, at 4:50 PM, pd-list-request at lists.iem.at<mailto:pd-list-request at lists.iem.at> wrote:

Date: Mon, 29 Oct 2018 12:09:46 +0100
From: oliver <oliver at klingt.org<mailto:oliver at klingt.org>>
To: "pd-list at mail.iem.at<mailto:pd-list at mail.iem.at>" <pd-list at mail.iem.at<mailto:pd-list at mail.iem.at>>
Subject: Re: [PD] drag and drop - tkdnd on osx
Message-ID: <334c4325-e6fe-4b8c-103a-8738ac598912 at klingt.org<mailto:334c4325-e6fe-4b8c-103a-8738ac598912 at klingt.org>>
Content-Type: text/plain; charset=UTF-8; format=flowed

hi via Pd-list wrote:
Hi Oliver,

thanks for these examples. They both work great for me! And I have equiped my playlist with Drag’n’Drop. My structure is like this now (parent) -> (GOP-playlist) -> (GOP-track) so i drop the files into the track. Which works great if i place the GOP at margin 0/0. Now i can have several playlists in my parent and all is fine until the window gets scrolled, then the positions are off and drop is recognized at a wrong place.
I just want to point to this problem, and have no clue about a solution since your abstractions worked so well but i didn’t really understand them with all the canvas magic.

it's a really tricky mechanism that needs a lot of info-gathering and
re-calculating. IEMGUT's [receivecanvas] and [canvasposition] objects
are needed in several "nested"-levels to calculate the right
drop-coordinates. it took me a lot of time to figure it out to work more
or less reliably.

so, for the moment, please stick to the convcention to use
margins "0,0" for GOPs and no scrolling in the parent window.

you also want to wait a little for the "official" dnd-plugin release.
ATM we're doing the final tests to make it work on all platforms.



Dan Wilcox

Pd-list at lists.iem.at<mailto:Pd-list at lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20181030/293b465e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnd-testing-plugin.zip
Type: application/octet-stream
Size: 4888 bytes
Desc: dnd-testing-plugin.zip
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20181030/293b465e/attachment-0001.obj>

More information about the Pd-list mailing list