Patches item #3065242, was opened at 2010-09-13 05:00 Message generated for change (Comment added) made by millerpuckette You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3065242...
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: Accepted
Priority: 5 Private: No Submitted By: IOhannes m zmlnig (zmoelnig) Assigned to: Miller Puckette (millerpuckette) Summary: tcl-error when modifying subpatch with hidden parentwindow
Initial Comment: i get tcl-errors when editing a subpatch in a GOP-enabled abstraction that has it's window closed. currently i haven't found any real consequences except for the annoying error-lines in the pd-console.
cause of the bug: Pd tries to make the title of the abstraction-window reflect the "modified" state, but since there is no such window tcl throws an error.
steps to reproduce: - i have an abstraction that has GOP enabled. all the code is in a subpatch of this abstraction. finally, i have a pristine instance of this abstraction in my patch. - i open the abstraction - i open the subpatch in the abstraction - i close the abstraction window - i edit the contents of the subpatch - pd-console shows an error:
(Tcl) UNHANDLED ERROR: bad window path name ".x8f67d30" while executing "wm title $mytoplevel "$name$dirtychar$arguments - $path" " (procedure "pdtk_canvas_reflecttitle" line 11) invoked from within "pdtk_canvas_reflecttitle .x8f67d30 {/Net/iem/Benutzer/zmoelnig/src/git/pure-data} {abstraction.pd} {} 1" ("uplevel" body line 3) invoked from within "uplevel #0 $cmd_from_pd"
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette)
Date: 2011-01-08 20:37
Message: applied to 0.43
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2010-09-13 22:30
Message: A given $mytoplevel window is not guaranteed to be visible when pdtk_canvas_reflecttitle is called, so skip setting the title if $mytoplevel does not exist.
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig) Date: 2010-09-13 05:00
Message: btw, this does not happen if the abstraction is not GOP-enabled
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3065242...