discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Mac compatility problem: recent items menu


From: Wolfgang Lux
Subject: Re: Mac compatility problem: recent items menu
Date: Thu, 1 Jan 2015 10:54:12 +0100

> Am 30.12.2014 um 12:15 schrieb Riccardo Mottola <riccardo.mottola@libero.it>:
> 
> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]