PDA

View Full Version : Ext 4.1.1 Problem with load mask



stimpy
23 Jul 2012, 7:12 AM
After updating to 4.1.1 and making no other changes I have the loading mask that will not clear .

This not a custom mask just the light grey semi opaque loading mask.

But after the load completes ( i can see the form data in fields) the loading mask stays . Nothing is click able and it effects all the forms that load data ( which are all stand alone js files).

Anyone else seen this ? How can test and reset the mask state ?

As a side note is the Ext lastRegisteredVersion accurate ?

stimpy
23 Jul 2012, 7:41 AM
update

Disabling the waitMsg parameter in the load form handler seem to make the problem go away ... but that mean no loading message and no loading msak.

chaostimmy
23 Jul 2012, 8:26 AM
I had no problem with the loading mask yet...

if you would paste your code we could help you :D

scottmartin
23 Jul 2012, 8:33 AM
Please make sure it is a small test case we can use to duplicate your problem.

Scott.

friend
23 Jul 2012, 11:36 AM
There was a LoadMask bug which I thought was fixed as of ExtJs v4.1.0; regardless, see if this override has any effect on the problem:



Ext.override(Ext.LoadMask, {
onHide: function() { this.callParent(); }
});

stimpy
23 Jul 2012, 12:31 PM
ChaosTimmy ..Thanks for the feedback .
My load handler is copy from the examples



function(){
formPanel.getForm().load({
url: 'myUrl',
waitMsg: 'Loading...'
});
}


Under 4.1.0 I would get the loading message dialog while the remainder of the screen was masked. Once the load was complete the dialog and the make disappeared.

Under 4.1.1 the "loading dialog " disappears but the mask remains.

if I disable the wait message ( comment out using // ) the data loads as expected.

Scott this is about as small as i can make it :)

friend - I will investigate that override and get back to you .

So What should i look for in Firebug to check the state of the mask ?
What event triggers a.) the "loading disappearing and b.) the mask removal ?

thanks for the help

shaym
3 Aug 2012, 7:15 AM
Stimpy,
Have you had any success in getting a solution for this issue?

We have had the exact same problem. After upgrading to 4.1.1, the mask remains after the loading dialog disappears.

thanks,
Shay

ppyy
3 Aug 2012, 11:14 PM
see.
http://www.sencha.com/forum/showthread.php?228970

and use animal's patch.

shaym
7 Aug 2012, 1:52 AM
Thank you for pointing me to this thread, this override has solved the issue.