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

2023-08-29 Thread Christof Ressi

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@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




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


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

2023-08-29 Thread Pierre Alexandre Tremblay
Ok a lot more investigations later, I have isolated the change of behaviour. donecanvasdialog 1 -1 0 0 0 0 0 0 0 0 0Which 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-vanillaIn pd 0.53.2 it worksIn 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) welcomep

xy-fixed.pd
Description: Binary data
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list