[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: open recent in renaissance?
From: |
Fred Kiefer |
Subject: |
Re: open recent in renaissance? |
Date: |
Tue, 11 May 2010 09:50:36 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.9) Gecko/20100317 SUSE/3.0.4-1.1.1 Thunderbird/3.0.4 |
Could you add a breakpoint in noteNewRecentDocument: as well?
And then step through this method. The only reason of this mechanism not
working that I can think of at the moment is fileURL on your document
returning nil. But how could that be the case?
Perhaps some inconsistency like your code overriding setFileName: but
not fileName and our code getting confused by that. Or rather, Apples
code getting confused. If your back trace is correct then you are using
this on an Apple machine (NSCarbonMenuImpl is a give away). If you are
misusing this mailing list to get Apple related support, you should at
least be telling us :-)
Is your code already in SVN? I could have a look then.
Fred
Am 10.05.2010 22:45, schrieb David Wetzel:
> 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.
- open recent in renaissance?, David Wetzel, 2010/05/10
- Re: open recent in renaissance?, Nicola Pero, 2010/05/10
- Re: open recent in renaissance?, Fred Kiefer, 2010/05/10
- Re: open recent in renaissance?, Doug Simons, 2010/05/10
- Re: open recent in renaissance?, David Wetzel, 2010/05/10
- Re: open recent in renaissance?,
Fred Kiefer <=
- Re: open recent in renaissance?, David Wetzel, 2010/05/11
- Re: open recent in renaissance?, Tim Schmielau, 2010/05/11
- Re: open recent in renaissance?, David Wetzel, 2010/05/11
- Re: open recent in renaissance?, Tim Schmielau, 2010/05/13
- Re: open recent in renaissance?, Wolfgang Lux, 2010/05/13
- Re: open recent in renaissance?, Tim Schmielau, 2010/05/13
- Re: open recent in renaissance?, Wolfgang Lux, 2010/05/14
- Re: open recent in renaissance?, Tim Schmielau, 2010/05/14