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

Group
 
 

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

Submitter:  Doug Simons <theeggcamefirst>
Submitted:  Mon 17 Nov 2008 07:11:58 PM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Change Request Status:  Fixed
Privacy:  Public Assigned to:  FredKiefer
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group Member
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-07-06 FredKiefer Open/ClosedIn Test Closed
    2008-11-17 FredKiefer Item GroupNone Change Request
        StatusNone Fixed
        Assigned toNone FredKiefer
        Open/ClosedOpen In Test

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code