PDA

View Full Version : Strange "repainting" effect when starting to scroll Ext.DataView



Steffen Hiller
11 Oct 2010, 8:33 PM
Hi,

loading Ext.DataView with content on iPad, all smooth and displayed correctly.
When I try to scroll down on my iPad, it first "repaints" the DataView panel in blocks from the bottom right to the top left and then it scrolls. (dockItems and toolbars are not affected.)

That DataView is one of two tabs in a TabPanel. Both tabs use the same custom DataView class which doesn't do anything fancy besides defining a different store.

When I activate Tab 2 by tapping on the tab button, it slides smoothly to the second tab. But when activating Tab 1 it slides to Tab 1 and does this repainting effect again (every time).

(I also tried with a normal panel without that two tabs, but same behaviour when scrolling the first time)

I know, a video would help.

Just wondering if you have an idea. (Tried Ext.repaint, doLayout on load, but not effect.)

This is my sencha contest app, so if my so-so bug report isn't good enough, I'm happy to post a video when getting closer to the contest deadline.

Anyway, thanks!!

P.S. This effect doesn't happen in chrome on my computer. Also couldn't reproduce this effect with the twitter example app which used dataview as well.

djkraz
12 Oct 2010, 3:09 AM
I have filed a bug for the same issue... See:
http://www.sencha.com/forum/showthread.php?111849-OPEN-406-All-panels-seem-to-redraw-on-first-scroll-since-0.96-release..

Steffen Hiller
12 Oct 2010, 8:45 AM
Ah, glad that I'm not the only one.


I have filed a bug for the same issue... See:
http://www.sencha.com/forum/showthread.php?111849-OPEN-406-All-panels-seem-to-redraw-on-first-scroll-since-0.96-release..

jay@moduscreate.com
12 Oct 2010, 12:58 PM
I noticed this when demoing the "kitchen sink" to a potential client. :-\

Steffen Hiller
12 Oct 2010, 1:56 PM
I noticed this when demoing the "kitchen sink" to a potential client. :-\

Yeah, that definitely kills the native feeling.

Added some more info to that other bug report here: http://www.sencha.com/forum/showthread.php?111849-OPEN-406-All-panels-seem-to-redraw-on-first-scroll-since-0.96-release..

Hopefully that gets addressed with the next release.

Jacky Nguyen
8 Nov 2010, 5:10 PM
Could you please confirm if this issue is still existing from 0.99 release?

Steffen Hiller
8 Nov 2010, 5:16 PM
The original effect isn't happening anymore in 0.99.
It still happens though that you see a delayed painting of new content when you scroll down. But maybe that'll be better with 4.2 for the iPad.

Another thing I noticed sometimes is, that the scroller doesn't react sometimes when doing the slide gesture.

But in general the scrolling is fine for now, I will report anything more specific as soon as 4.2 for iPad is out.

But this thread can be closed from my side for now.

Thanks.