[PD] Problem with this (involved) abstraction for XY

Pierre Alexandre Tremblay tremblap at gmail.com
Wed Aug 30 09:27:09 CEST 2023


Dear Miller and Christof

I’m sorry to be the cause of pain - I will amend the patch now but what is strange in this one is that recoding it actually changes its behaviour.

In all cases, I wish I had seen the changelog entry that would tell me how the hidden but essential donecanvasdialog settings / behaviour has changed. In all case, I hope this unexpected behaviour report is somewhat helpful.

I know my desire to stay vanilla complicates things too, but again, so many combinations of hardware and oses I think might justify my self-inflicted pain

p

> On 29 Aug 2023, at 23:36, Christof Ressi <info at christofressi.com> wrote:
> 
> Sigh.
> 
> @Miller Can we please finally get https://github.com/pure-data/pure-data/pull/627? This PR has been sitting around for more than 4 years now. In the meantime, people kept abusing the private "donecanvasdialog" message in place of a better and officially supported alternative, and they will continue to do so...
> 
> Christof
> 
> On 30.08.2023 00:14, Pierre Alexandre Tremblay wrote:
>> Ok a lot more investigations later, I have isolated the change of behaviour.
>> 
>> donecanvasdialog 1 -1 0 0 0 0 0 0 0 0 0
>> 
>> Which was used to reset the patcher’s sub patchers at the top left is corrupting the ability for a struct to broadcast its click through a graph. Now, can anyone on the Pd dev confirm this?
>> 
>> How to reproduce:
>> 
>>> https://forum.pdpatchrepo.info/topic/10854/xy-abstraction-to-get-mouse-click-and-drag-coordinates-vanilla
>> 
>> In pd 0.53.2 it works
>> 
>> In pd 0.54.0 it doesn’t receive the click from the #0-rectangle (so it draws and emits nothing)
>> 
>> To fix it, remove top left the donecanvasdialog elements (2 of them)
>> 
>> Then reinstantiate the 3 pd Subpatches on the right
>> 
>> (Or you can just try the one I attach)
>> 
>> It is not fixed completely yet but the click gets through now. I really wonder what has changed there…
>> 
>> Any pointer (pun intended) welcome
>> 
>> p
>> 
>> 
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list






More information about the Pd-list mailing list