Results 1 to 4 of 4

Thread: Dragging Window causes window to hang ("Grey out")

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    25
    Vote Rating
    0
      0  

    Exclamation Dragging Window causes window to hang ("Grey out")

    When I drag an Ext.window.Window it sometimes freezes/hangs and I can't close or minimize it anymore. It just grays out. Anyone experienced this before ?

    Here's my declaration... nothing fancy. Just simple stuff:
    Code:
    Ext.define('Portal.view.user.form1' ,{
        extend: 'Ext.window.Window',
        alias : 'widget.form1',
        
        title : 'Input Details',
        
        layout: "fit",
        height: 200,
        width: 300,
        
        autoShow: true,
        resizable: true,
        minimizable: true,
        closable: false,
        
           initComponent: function(){
               this.items = this.buildItems();
               this.buttons = this.buildButtons();
               this.callParent(arguments);
        },
    ......other functions......
    StuckWindow.jpg

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    What version of Ext JS 4 are you using?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    25
    Vote Rating
    0
      0  

    Default

    I'm on ExtJs 4.0.7.
    Update: It hangs most often when I attempt to drag it around during the first 10 seconds or so of my app finishing loading all the components and panels.. Could it be that it "has not completely loaded" yet and so dragging it around would cause it to stop working ?

  4. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    No, once it is visible, it's good to go. I have not seen this behavior at all.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •