Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    49
    Vote Rating
    2
    mstijak is on a distinguished road

      0  

    Default deactivate event not fired on windows

    deactivate event not fired on windows


    Ext version: Ext JS v 4.1.1

    I believe that error is in method ZIndexManager._activateLast which deletes this.front.
    Later setActiveChild cannot call deactivate on this.front.
    Checkout Dextop or Pecunia demo.

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,919
    Vote Rating
    631
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Under what circumstances? When closing the window? When focusing another one?
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User
    Join Date
    Dec 2010
    Posts
    49
    Vote Rating
    2
    mstijak is on a distinguished road

      0  

    Default


    Quote Originally Posted by evant View Post
    Under what circumstances? When closing the window? When focusing another one?
    This happens when you have a few open windows (desktop example) and you're switching between them. The window which is activated fires 'activate' event, but deactivated window does not fire 'deactivate'.

Thread Participants: 1