bugGNUstep - Bugs: bug #24859, timing of...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #24859: timing of applicationDidFinishLaunching: is different from Cocoa

Submitted by:  Doug Simons <theeggcamefirst>
Submitted on:  Mon 17 Nov 2008 07:11:58 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: Change RequestStatus: Fixed
Privacy: PublicAssigned to: Fred Kiefer <FredKiefer>
Open/Closed: Closed

Mon 17 Nov 2008 08:54:14 PM UTC, comment #1:

I split up that method into two to allow your code to do its setup before the notification gets send.

But be aware that this order is undocumented and other frameworks, or even Apples in the next release, may use a different order.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Mon 17 Nov 2008 07:11:58 PM UTC, original submission:

In GNUstep, applicationDidFinishLaunching: is called from a notification posted SYNCHRONOUSLY by [NSApplication finishLaunching], so applicationDidFinishLaunching: is called before finishLaunching completes. In Cocoa, the notification is sent from within the run loop AFTER finishLaunching completes.

This made a difference to us because our implementation of finishLaunching does some processing after calling super, some of which needs to be done before applicationDidFinishLaunching: is called.

Doug Simons <theeggcamefirst>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by theeggcamefirst (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 06 Jul 2009 02:28:54 PM UTCFredKieferOpen/ClosedIn Test=>Closed
    Mon 17 Nov 2008 08:54:14 PM UTCFredKieferItem GroupNone=>Change Request
      StatusNone=>Fixed
      Assigned toNone=>FredKiefer
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1