PDA

View Full Version : Dragging Window causes window to hang ("Grey out")



danielleng
29 Nov 2011, 10:43 PM
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:

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......
29687

mitchellsimoens
30 Nov 2011, 8:59 AM
What version of Ext JS 4 are you using?

danielleng
30 Nov 2011, 6:41 PM
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 ?

mitchellsimoens
1 Dec 2011, 5:44 AM
No, once it is visible, it's good to go. I have not seen this behavior at all.