GUI messages to Pd get truncated if larger than 4096 bytes
The socket reader has a buffer capped at 4096. It will truncate messages larger than that.
Example: if a user tries to paste an extremely large message inside a message box that's larger than 4096 bytes. When the user tries to instantiate the message box, the text at the end will get truncated.
Pd Vanilla handles this by sending every single character that's typed into the box as a separate message (which of course causes other problems, like copy/paste potentially flooding the socket and freezing Pd.)
In the new GUI, I send a "setobj" message to Pd with the msg/obj box contents as the arguments. If that message ends up being bigger than 4096 Pd will truncate the message.