gnustep-dev
[Top][All Lists]
Advanced

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

Re: open recent in renaissance?


From: David Wetzel
Subject: Re: open recent in renaissance?
Date: Mon, 10 May 2010 13:45:43 -0700

Am 10.05.2010 um 12:28 schrieb Fred Kiefer:

> Recent documents get handled at a higher level. The NSDocumentController

Yes that is what the documentation says. :-)

> is in charge of this. If you are using one and the document loading
> operates via that and you still don't see documents being registered.

That is the thing. 

The NSDocumentController is created in NSApplication finishLaunching.

My menu is like that:

  <menuItem title="Open" keyEquivalent="o" action="openDocument:"/>

(gdb) b openDocument:
Breakpoint 1 at 0x20c49ba57b552d
(no other openDocument: method)

...

Breakpoint 1, 0x00007fff8088052d in -[NSDocumentController openDocument:] ()
(gdb) bt
#0  0x00007fff8088052d in -[NSDocumentController openDocument:] ()
#1  0x00007fff806a18ea in -[NSApplication sendAction:to:from:] ()
#2  0x00007fff806c5e5a in -[NSMenuItem _corePerformAction] ()
#3  0x00007fff806c5bc4 in -[NSCarbonMenuImpl 
performActionWithHighlightingForItemAtIndex:] ()
#4  0x00007fff806ab859 in -[NSMenu performKeyEquivalent:] ()
#5  0x00007fff806aa601 in -[NSApplication _handleKeyEquivalent:] ()
#6  0x00007fff8057b221 in -[NSApplication sendEvent:] ()
#7  0x00007fff805120aa in -[NSApplication run] ()
#8  0x0000000100001946 in main (argc=1, argv=0x7fff5fbfeff0) at main.m:61


> there are two places to look. It could be that we totally fail to
> recognise that a file was loaded. This can be seen, when checking the

It totally fails to write the recent documents.
"defaults read EOModelEditor" gets me all sorts of info,
like the table view columns, window sizes etc..., but NO recent files.

David 




reply via email to

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