> Am 30.12.2014 um 12:15 schrieb Riccardo Mottola <[email protected]>: > > Hi Wolfgang, > >> (gdb) bt >> #0 0x920b4fd1 in -[NSDocumentController noteNewRecentDocumentURL:] () >> #1 0x91f9c4b3 in -[NSDocumentController >> _finishOpeningDocument:andShowWindows:] () >> >> it means that I have an apparently valid file! this makes things even more >> strange! And I have even less clues on how it is going wrong. If I have >> AppKit manage its menu and the File is there (I suspected it was empty), >> what could go wrong? >> >> One think I'd like to check is the type of object, that is, being a a File >> (wrong, old code) or an URL containing a file. >> >> I did: >> (gdb) po [*(id*)($ebp + 16) class] >> NSURL >> >> so it looks "correct" to me! > Do you have perhaps another clue where I could look? Since this affecting > both my Doc-based apps PRICE and Graphos I fear some general problem. But > the methods get called and if even with a new menu, I'm rather tapping in the > dark.
I had a look at Graphos and in the end it turned out that your problem has a dead simple solution. The Info.plist file of Graphos lacks a value for the CFBundleIdentifier key. Once I added this key, Graphos started to populate the recent documents menu. Happy New Year, Wolfgang _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
