Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    168
    Vote Rating
    1
    Dmoney is on a distinguished road

      0  

    Default [OPEN-EXTJSIV-698]HTMLEditor destroy broken.

    [OPEN-EXTJSIV-698]HTMLEditor destroy broken.


    If I open a modal window in beta 2 and close the window with closable: true,
    closeAction : 'close', by using the default close button in the window frame then the window closes but the modal mask remains.

    closing the window with a button and myWindow.destroy(); works as expected.

    using closeAction: 'hide' also works as expected.

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,663
    Vote Rating
    584
    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


    closeAction: 'close' should not be used. In fact I think it will throw you into an infinite loop. The default closeAction is destroy.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User
    Join Date
    May 2010
    Posts
    168
    Vote Rating
    1
    Dmoney is on a distinguished road

      0  

    Default


    I get the same result when no closeAction is defined I also tried closeAction: 'destroy'

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,663
    Vote Rating
    584
    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


    Can't confirm:

    Code:
    Ext.onReady(function() {
        Ext.create('Ext.window.Window', {
            width: 400,
            height: 400,
            title: 'Foo',
            modal: true    
        }).show();
    });
    I hit the close button and the modal mask goes away.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  5. #5
    Sencha User
    Join Date
    May 2010
    Posts
    168
    Vote Rating
    1
    Dmoney is on a distinguished road

      0  

    Default


    ok window by itself works for me too, sorry should have tried that. Anyways it looks like the problem occurs when you have a form in the window with an htmleditor field in the form.

    Code:
    , {
          
                xtype: 'htmleditor',
                name: 'bioText',
                id:'bioText',
                 labelAlign: 'top',
                height: 200,
                anchor: '100%'
            }
    removing the htmleditor from the form fixes the problem. also like I mentioned at first if the closeAction is hide this doesnt happen either.

  6. #6
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,663
    Vote Rating
    584
    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


    Code:
    Ext.onReady(function() {
        Ext.create('Ext.window.Window', {
            width: 400,
            height: 400,
            title: 'Foo',
            modal: true,
            items: {
                xtype: 'htmleditor'
            }    
        }).show();
    });
    Can confirm.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. Replies: 23
    Last Post: 24 Jun 2011, 5:47 AM
  2. Replies: 0
    Last Post: 30 Mar 2011, 7:03 PM
  3. [OPEN-EXTJSIV-531][B1] Progress dialog broken
    By chrisbrianolsen in forum Ext:Bugs
    Replies: 0
    Last Post: 30 Mar 2011, 2:32 PM
  4. [FIXED-EXTJSIV-217] HtmlEditor.setValue has no effect (PR5)
    By christophe.geiser in forum Ext:Bugs
    Replies: 0
    Last Post: 28 Mar 2011, 8:47 AM

Thread Participants: 1