Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    784
    Vote Rating
    33
    Steffen Hiller has a spectacular aura about Steffen Hiller has a spectacular aura about

      0  

    Default Destroy appLoadingIndicator element

    I think the framework should destroy the appLoadingIndicator element automatically after the app is initiated, since it unnecessarily keeps using (pretty heavily actually) the CPU while the app is running.

    One official ST example (particles) is already doing the same thing I do in my app launch method:

    Code:
    Ext.fly('appLoadingIndicator').destroy();

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    38,814
    Vote Rating
    1169
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default

    What if you wanted to keep the indicator around while sending a request to a server to see if a user is logged in? There are uses to allow the dev to destroy it when he/she chooses.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    784
    Vote Rating
    33
    Steffen Hiller has a spectacular aura about Steffen Hiller has a spectacular aura about

      0  

    Default

    I'd imagine that you could add it to the painted event of the ext viewport or something?
    Then your viewport wouldn't be painted until that user auth request is made?

Thread Participants: 1