Hi, "#" characters become "$" when trying to put them into GUI labels, is there a good reason for it? Or should we just treat it as a bug and fix it?
cheers
This was fixed in pd-l2ork a while ago. Perhaps porting the patch may not be a bad idea?
Best,
Ico
On 3/12/2018 6:09 PM, Alexandre Torres Porres wrote:
Hi, "#" characters become "$" when trying to put them into GUI labels, is there a good reason for it? Or should we just treat it as a bug and fix it?
cheers
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
2018-03-12 20:03 GMT-03:00 Ivica Ico Bukvic ico@vt.edu:
This was fixed in pd-l2ork a while ago. Perhaps porting the patch may not be a bad idea?
you mean in pd-l2ork 1.0? With tcl? And what about the issue IOhannes mentioned?
Yes 1.x and by extension 2.x.
I haven't checked but am reasonably sure it handles those scenarios ok.
Best,
Ico
I stand corrected. If placing #1-blah in the receive of an iemgui object in pd-l2ork/purr-data, this reverts to $1-blah after applying... We need to note this on the bugtracker.
Best,
Ico
On 3/13/2018 10:32 AM, Ivica Bukvic wrote:
Yes 1.x and by extension 2.x.
I haven't checked but am reasonably sure it handles those scenarios ok.
Best,
Ico
-- Ivica Ico Bukvic, D.M.A. Creative Technologies in Music Director -- DISIS, L2Ork, CTM ICAT Senior Fellow Virginia Tech School of Performing Arts – 0141 Blacksburg, VA 24061 (540) 231-6139 ico@vt.edu mailto:ico@vt.edu www.performingarts.vt.edu http://www.performingarts.vt.edu disis.icat.vt.edu http://disis.icat.vt.edu l2ork.icat.vt.edu http://l2ork.icat.vt.edu ico.bukvic.net http://ico.bukvic.net
On Mar 13, 2018 10:28, "Alexandre Torres Porres" <porres@gmail.com mailto:porres@gmail.com> wrote:
2018-03-12 20:03 GMT-03:00 Ivica Ico Bukvic <ico@vt.edu <mailto:ico@vt.edu>>: This was fixed in pd-l2ork a while ago. Perhaps porting the patch may not be a bad idea? you mean in pd-l2ork 1.0? With tcl? And what about the issue IOhannes mentioned?
Great, now, I don't know how I can get that patch and send it to pure data as a pull request. Can anyone help me, give me instructions?
cheers
2018-03-13 11:59 GMT-03:00 Ivica Ico Bukvic ico@vt.edu:
I stand corrected. If placing #1-blah in the receive of an iemgui object in pd-l2ork/purr-data, this reverts to $1-blah after applying... We need to note this on the bugtracker.
Best,
Ico
On 3/13/2018 10:32 AM, Ivica Bukvic wrote:
Yes 1.x and by extension 2.x.
I haven't checked but am reasonably sure it handles those scenarios ok.
Best,
Ico
-- Ivica Ico Bukvic, D.M.A. Creative Technologies in Music Director -- DISIS, L2Ork, CTM ICAT Senior Fellow Virginia Tech School of Performing Arts – 0141 Blacksburg, VA 24061 (540) 231-6139 ico@vt.edu www.performingarts.vt.edu disis.icat.vt.edu l2ork.icat.vt.edu ico.bukvic.net
On Mar 13, 2018 10:28, "Alexandre Torres Porres" porres@gmail.com wrote:
2018-03-12 20:03 GMT-03:00 Ivica Ico Bukvic ico@vt.edu:
This was fixed in pd-l2ork a while ago. Perhaps porting the patch may not be a bad idea?
you mean in pd-l2ork 1.0? With tcl? And what about the issue IOhannes mentioned?
On 2018-03-12 23:09, Alexandre Torres Porres wrote:
Hi, "#" characters become "$" when trying to put them into GUI labels, is there a good reason for it?
it's a (very stupid) hack to prevent "$" from being expanded by the tcl interpreter. (the iemguis - btw not only the labels but also the send/receive names)
between GUI and Pd-core; after that, the symbols are transformed back - which is why the "#" (which wasn't transformed in the first place) gets replaced with "$"). the correct way would have been to just properly quote the dollars.
Or should we just treat it as a bug and fix it?
sure. before you start doing that, please detail your plan on how to not break all patches that rely on "#<number> from being expanded to "$<number>"