Patches item #1654666, was opened at 2007-02-07 18:08 Message generated for change (Comment added) made by matju You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1654666...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: None Status: Pending Resolution: Fixed Priority: 7 Private: No Submitted By: Matteo Sisti Sette (sistisette) Assigned to: Miller Puckette (millerpuckette) Summary: sending a cut message to an "invisible" subpatch makes crash
Initial Comment: If you have a subpatch, and send a "cut" message to it when it is not in "visible" state (i.e. it is not open), pd crashes.
This may happen when using scripting, if for example you send a "find foo" message followed by a "cut" message. If the object does not exist (and the subpatch hasn't been made explicitly visible), the cut message will reach the canvas when it is invisible.
See the attached example.
Tested on 0.40.2 on Windows XP.
Matteo Sisti Sette
matteo dot sistisette at email dot it
----------------------------------------------------------------------
Comment By: Mathieu Bouchard (matju) Date: 2009-09-10 11:07
Message: Miller, if I were against you, I'd suggest that you make a "delete-in-rectangle" message optimised for scripting.
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette) Date: 2009-08-30 18:34
Message: fixed this slightly differently. (Hannes -- the vis/invis editor allocation and deallocation code is so complicated I'm afraid to try to enable "edits" on invis windows. Instead I want to write a "delete-in-rectangle" message optimized for scripting.
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig) Date: 2009-01-28 13:09
Message: raised priority since this bothers me right now!
miller: any chance to get selection/copy/paste/... to work with closed patches?
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1654666...