[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] open ghost documents bug



this is fixed now.

-jan

On Dec 8, 2004, at 8:46 AM, Jan Trützschler wrote:

fredrik, i'm going to have a look.
-jan

On Dec 7, 2004, at 10:40 PM, f@xxxxxxxxxxxxxxxxxxx wrote:

ha, finally able to pinpoint this one.

//first set initAction
Document.initAction_{|doc| \newdoc.postln; doc.background_(Color.grey)}

//then run this
(
SinOsc.openHelpFile;
SinOsc.openHelpFile;
)

and now try to create new documents with cmd+n or open with cmd+o. initAction
doesn't happen!  nor has the new doc registered at...
Document.allDocuments.collect{|doc| doc.title}

cmd+n has been paralysed somehow. do a Document.new and it'll get back to
normal.

this can also happen when trying to doubleclick a wiki (eg helpfiles in
JITLib.rtf) and also sometimes for no apparent reason at all.

sorry no idea how to fix. traced it to *prGetLast that doesn't get called from
the menu.  anyone familiar with the code and want to fix?


still happens that Document.current returns nil tho.  can't reproduce.

_f


  #|
     fredrikolofsson.com     klippav.org     musicalfieldsforever.com
  |#

_______________________________________________
sc-dev mailing list
sc-dev@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-dev

_______________________________________________
sc-dev mailing list
sc-dev@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-dev