confirmed on Debian/sid amd64, with both Pd-0.47-1 and Pd-0.48-0test1.
this is a problem with the help-patch. a normal Pd patch wouldn't have a backslash in the code anywhere...
also, it is only the GUI that is freezing, and Pd-core is happily contiuing to run...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think users will want to edit message boxes in this way in order to get multiple lines. It seems like this is the format that [text tolist] and fromlist already use. This is how I found the bug in the first place: trying to use a message box to fill multiple lines of text in the format that [text tolist] used (and fromlist shows this is the way to do this in the helpfile). But I suppose the only safe way to use a message box for multiple lines is [text set]?
Last edit: Sebastian Shader 2017-07-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[text tolist] outputs newlines like this so that is one way and it seems like the only way [text fromlist] takes newlines (oviously without the backslash the message would be sent to a receiver). It is also possible to get \; with makefilename %c with 59 sent in & then to [set $1(.
maybe [text fromlist] and tolist should be changed to use a different newline character?
Last edit: Sebastian Shader 2017-07-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
confirmed on Debian/sid amd64, with both Pd-0.47-1 and Pd-0.48-0test1.
this is a problem with the help-patch. a normal Pd patch wouldn't have a backslash in the code anywhere...
also, it is only the GUI that is freezing, and Pd-core is happily contiuing to run...
I think users will want to edit message boxes in this way in order to get multiple lines. It seems like this is the format that [text tolist] and fromlist already use. This is how I found the bug in the first place: trying to use a message box to fill multiple lines of text in the format that [text tolist] used (and fromlist shows this is the way to do this in the helpfile). But I suppose the only safe way to use a message box for multiple lines is [text set]?
Last edit: Sebastian Shader 2017-07-19
fiven that you cannot type backslash in Pd, i don't think that anybody will want to do this.
the question is, how do the backslashes get into patch, and what can we do to avoid that.
[text tolist] outputs newlines like this so that is one way and it seems like the only way [text fromlist] takes newlines (oviously without the backslash the message would be sent to a receiver). It is also possible to get \; with makefilename %c with 59 sent in & then to [set $1(.
maybe [text fromlist] and tolist should be changed to use a different newline character?
Last edit: Sebastian Shader 2017-07-20