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: Sun, 7 Dec 2014 00:40:26 +0100

Am 06.12.2014 um 01:04 schrieb Riccardo Mottola <riccardo.mottola@libero.it>:
> 
> Hi,
> 
> I have this time a "reverse" problem. Both Graphos and PRICE are document 
> based application and as such have an "open recent" menu.
> 
> Now, it works fine and on Mac 10.3/10.4 and on GNUstep, but on Mac 10.6 and 
> later (Gregory tested 10.10) it doesn't. Now even if I compile in 10.4 mode 
> or take over the working binary from 10.4 on 10.6 and execute it in Rosetta, 
> it does not work.
> 
> Now, for sure here Apple is having a compatibility problem when running older 
> stuff, but that is not the point: the code should work fine in version after 
> 10.6!
> Can someone give me a clue what broke/changed? Afterwards e should then check 
> GNUstep.
> 
> I did not find anything relevant among the warnings but also not on the 
> internet when searching the matter.

The recent documents menu is updated by the NSDocumentController method 
-noteNewRecentDocumentURL:. This method, in turn, is called from 
NSDocumentController -noteNewRecentDocument:, which is called automatically by 
NSDocumentController methods when you open a document and by NSDocument methods 
when you save a document, so it is a bit surprising if this does not work for 
you. Perhaps you are using some deprecated document and document controller 
methods (the file based ones instead of the URL based ones) or you have 
implemented your overrides in such a way that the -noteNewRecentDocument: 
method gets no longer called on (not so) recent OS X versions.

Wolfgang




reply via email to

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