[PD] dirty flag + donecanvasdialog = false

João Pais jmmmpais at googlemail.com
Wed Oct 22 02:27:45 CEST 2008


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

-- 
Friedenstr. 58
10249 Berlin
Deutschland
Tel +49 30 42020091
Mob +49 162 6843570
jmmmpais at googlemail.com
skype: jmmmpjmmmp
http://www.puredata.org/Members/jmmmp
IBM Thinkpad R51, XP, Ubuntu GG
Pd-Ext-0.39-2-t5, Pd Van 0.40-t2




More information about the Pd-list mailing list