PDA

View Full Version : List plugins disable mask and never re-enable it



interfasys
4 Jun 2011, 11:03 AM
Sencha Touch version tested:

1.1


Platform tested against:

Chrome 11 on Windows
Blackberry PlayBook 1.0.3.1868


Description:

If you use the paging or the pull-refresh plugin with a list, the loading mask will stop showing


Test Case:

Load the Twitter example

See this URL : http://dev.sencha.com/deploy/touch/examples/twitter

Steps to reproduce the problem:

Do a couple of searches. The mask is there.
Pull-refresh the timeline
Click on another search. The mask is gone


The result that was expected:

Mask showing every time the store is reloaded


The result that occurs instead:

Mask stops appearing after a plugin is used



Debugging already done:

Looked at the source code and I think I've found the problem

It seems the mask is disabled, but never re-enabled

Possible fix:

"beforerefresh": function() {
this.loadMask.enable();
},

The best thing would be to fix onLoadComplete (I think)

jdb
14 Jul 2011, 5:08 PM
Description:

If you use the paging or the pull-refresh plugin with a list, the loading mask will stop showing



The same happens when using the Load more button for paging.

Tested on Chrome, iOS 4.3 and Android 2.2

Hope this can be fixed soon.