• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
help trouble shooting...maybe with resume?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help trouble shooting...maybe with resume?


  • Subject: help trouble shooting...maybe with resume?
  • From: Jim Thomason <email@hidden>
  • Date: Tue, 23 Aug 2011 10:00:06 -0500

Gang,

Unfortunately, this is a very vague question but I'm at a bit of a
loss and hoping someone could provide some general technique or
avenues to explore.

Apple recently rejected a new app of mine, with this explanation:

When saving a file, and reopening it by double-clicking the saved file
in the Finder, the app launches with 2-3 windows: One being the saved
file, and additional windows with no saved data. Mac OS X 10.7


I'm guessing it's due to Lion's resume window features somehow getting
confused. The app is document based, and it looks at the document
controller's recently opened documents upon launch. If it finds any,
it automatically opens the last document used. If the list is empty,
it automatically creates an untitled document. The snippet of code is
essentially unchanged from when I originally wrote it for a different
app way back on Tiger. This is called in the delegate from
applicationDidFinishLaunching:. applicationShouldOpenUntitledFile:
returns NO.

Here are my problems - first of all, I can't reproduce the blasted
bug. Everything seems to always behave fine to me, on 10.7.0 or
10.7.1. I've requested more info about how to reproduce the bug but
haven't heard back yet.

Regardless of whether they get back to me, does what I've described
sound like it could be the root of my issue? Is there some other
method for re-opening the last document (or creating a new one) I
should be using? Is there anything else I can look for or verify that
might be causing this behavior?

Naturally, it'd help if I could manifest the issue myself, but right
now I just don't even know where to begin looking for this one. :-(

-Jim.....
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: help trouble shooting...maybe with resume?
      • From: Sean McBride <email@hidden>
    • Re: help trouble shooting...maybe with resume?
      • From: email@hidden
  • Prev by Date: Re: -drawRect when running a print operation
  • Next by Date: Re: printDocument: hangs on Lion?
  • Previous by thread: Re: command line tool called from php
  • Next by thread: Re: help trouble shooting...maybe with resume?
  • Index(es):
    • Date
    • Thread