There is an xy pad called "touch" in the droidparty abstractions which works on vanilla. I just tested on 0.54. It could be used or possibly checked as to why it doesn't break as compared to your abstraction.
https://github.com/chr15m/PdDroidParty/tree/master/droidparty-abstractions
There isn't a help patch but the creation args are: width height sendname
On Aug 21, 2023, at 11:01 AM, pd-list-request@lists.iem.at wrote:
Message: 1 Date: Sun, 20 Aug 2023 16:07:18 +0100 From: Pierre Alexandre Tremblay <tremblap@gmail.com mailto:tremblap@gmail.com> To: Pd-List <pd-list@lists.iem.at mailto:pd-list@lists.iem.at> Subject: [PD] Problem with this (involved) abstraction for XY Message-ID: <167EF89D-6618-4456-A5B1-98946DB41306@gmail.com mailto:167EF89D-6618-4456-A5B1-98946DB41306@gmail.com> Content-Type: text/plain; charset=utf-8
Dear all
As I wanted to keep FluCoMa depending only on Vanilla, I took the lazy shortcut to use a x-y abstraction for the fluid.plotter (I know I need to code it in c+tcl)
https://forum.pdpatchrepo.info/topic/10854/xy-abstraction-to-get-mouse-click...
Now, in the last Pd, it breaks on all OSes. I thought it waste do with donecanvasdialog changes, but it doesn?t seem to be the case.
I?m asking here because I?m time-short at the moment, if nobody has found the same problem and fixed it. Otherwise I?ll respond to self when I have found time to fix it - I hope it isn?t a breaking change or at least not a problem that will need 2 versions of the abstraction depending on the Pd version?
p
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
This is a great object but you need to click on the box for it to work. The other is literally a pad (so you can click anywhere in the box and get coordinates)
I’ll investigate more and will come back with the change in all cases
On 21 Aug 2023, at 13:03, Dan Wilcox danomatika@gmail.com wrote:
There is an xy pad called "touch" in the droidparty abstractions which works on vanilla. I just tested on 0.54. It could be used or possibly checked as to why it doesn't break as compared to your abstraction.
https://github.com/chr15m/PdDroidParty/tree/master/droidparty-abstractions https://github.com/chr15m/PdDroidParty/tree/master/droidparty-abstractions
There isn't a help patch but the creation args are: width height sendname
On Aug 21, 2023, at 11:01 AM, pd-list-request@lists.iem.at wrote:
Message: 1 Date: Sun, 20 Aug 2023 16:07:18 +0100 From: Pierre Alexandre Tremblay <tremblap@gmail.com mailto:tremblap@gmail.com> To: Pd-List <pd-list@lists.iem.at mailto:pd-list@lists.iem.at> Subject: [PD] Problem with this (involved) abstraction for XY Message-ID: <167EF89D-6618-4456-A5B1-98946DB41306@gmail.com mailto:167EF89D-6618-4456-A5B1-98946DB41306@gmail.com> Content-Type: text/plain; charset=utf-8
Dear all
As I wanted to keep FluCoMa depending only on Vanilla, I took the lazy shortcut to use a x-y abstraction for the fluid.plotter (I know I need to code it in c+tcl)
https://forum.pdpatchrepo.info/topic/10854/xy-abstraction-to-get-mouse-click... https://forum.pdpatchrepo.info/topic/10854/xy-abstraction-to-get-mouse-click-and-drag-coordinates-vanilla
Now, in the last Pd, it breaks on all OSes. I thought it waste do with donecanvasdialog changes, but it doesn?t seem to be the case.
I?m asking here because I?m time-short at the moment, if nobody has found the same problem and fixed it. Otherwise I?ll respond to self when I have found time to fix it - I hope it isn?t a breaking change or at least not a problem that will need 2 versions of the abstraction depending on the Pd version?
p
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Hello,
On 21/8/23 10:46 pm, Pierre Alexandre Tremblay wrote:
This is a great object but you need to click on the box for it to work. The other is literally a pad (so you can click anywhere in the box and get coordinates)
This one looks like it could be better. The author figured out a hack to get the click:
https://forum.pdpatchrepo.info/topic/10854/xy-abstraction-to-get-mouse-click...
Cheers,
Chris.
Yes this is the one I pointed at in the original post and that is actually broken now :)
I will get to the bottom of what changed in the last version to break it.
On 23 Aug 2023, at 02:13, Chris McCormick chris@mccormick.cx wrote:
Hello,
On 21/8/23 10:46 pm, Pierre Alexandre Tremblay wrote:
This is a great object but you need to click on the box for it to work. The other is literally a pad (so you can click anywhere in the box and get coordinates)
This one looks like it could be better. The author figured out a hack to get the click:
https://forum.pdpatchrepo.info/topic/10854/xy-abstraction-to-get-mouse-click...
Cheers,
Chris.
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... 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
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...
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
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@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...
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