Hi,
I was working on a dynamic GUI abstraction that rescales itself when
created, and noticed that donecanvasdialog makes the patches go dirty.
since these abs go dirty at time of creation, they remain dirty until the
main patch eventually closes. That creates problemas, because when the
main patch is closing, it asks if changes should be saved as many times as
the abstractions were used. And if changes aren't saved, pd just
crashes/hangs up indefinitely, until forced to shut down.
I don't know all uses of donecanvasdialog, but if one of its uses is to
allow for dynamic GUI patches to be used, it might make sense to remove
the dirty flag activation. That might be easier to do than add another
choice in the canvas properties, so that dirty flag doesn't get activated
(I guess).
Best,
João Pais