Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1659 in a recent build.
  1. #1
    Sencha User
    Join Date
    Aug 2010
    Posts
    25
    Vote Rating
    1
    Frank345 is on a distinguished road

      0  

    Default PR4: Ext.app.Controller.launch() no longer called by MVC framework

    PR4: Ext.app.Controller.launch() no longer called by MVC framework


    Hi,

    in Sencha Touch 2.0.0 Pre-Release 3 (and previous releases), controllers could have two methods that are called by the MVC framework during application startup:
    * Ext.app.Controller.init() -- called when the application boots, i.e., before the Application's launch function is executed
    * Ext.app.Controller.launch() -- called after the launch method of Application is executed.

    With Sencha Touch 2.0.0 Pre-Release 4, the controllers' launch methods are no longer called.
    This looks like a bug to me because both, init() and launch(), make sense to me.

    Best regards,
    Frank

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report, we'll get that fixed.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    9
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    Fair enough, I'll restore that
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  4. #4
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    9
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    Ok this is now done, it'll be in the next release. The bootup sequence is now:

    1. Controller#init functions called
    2. Profile#launch function called
    3. Application#launch function called
    4. Controller#launch functions called
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  5. #5
    Sencha User
    Join Date
    Aug 2010
    Posts
    25
    Vote Rating
    1
    Frank345 is on a distinguished road

      0  

    Default


    Cool. Thanks a lot.
    Best regards,
    Frank