there’s a bug when creating an output pin in a subpatch called ‘Window Handle’.
It will automatically make the Window Handle pin of the Patch visible, so there are now two Window Handle outputs. While this is obvious, it may be really confusing for beginners (and was confusing to me at first, too).
My suggestion: give some kind of error message when a user creates an output called Window Handle, and not let them do it.
In general: the behaviour when creating in/outputs with the same name in a subpatch is very confusing. Any connection will be drawn to the first pin, but both are visible. Please give feedback to the user when trying to create two pins with the same names. Something like ‘You have created two IOboxes with the same lables. Only one can be made visible as a pin.’
Example (2.2 kB)