PDA

View Full Version : [OPEN] Grid & Tree Mousewheel - Scrolling



tobiu
16 Feb 2011, 11:50 AM
hi team,

in the example:
ext-4.0-pr1/examples/grid/array-grid.html

it feels like you kill your mousewheel for scrolling down.
it's way too slow.


best regards
tobiu

aconran
16 Feb 2011, 4:15 PM
tobiu -

Could you give us some details on the browser and how many pixels its scrolling etc?

Thanks,

tobiu
16 Feb 2011, 4:23 PM
hi aaron,

sure. in the grid examples:
http://dev.sencha.com/deploy/ext-4.0-pr1/examples/grid/grid-plugins.html

when i rotate the wheel for 90 (as much as you can in a single turn), the grid scolls down for almost exactly 2 rows.

i tested this with firefox 3.6.12 and chrome 9.0.597.98.


best regards
tobias

elentirmo
17 Feb 2011, 12:05 AM
in the grid examples:
http://dev.sencha.com/deploy/ext-4.0-pr1/examples/grid/grid-plugins.html

when i rotate the wheel for 90 (as much as you can in a single turn), the grid scolls down for almost exactly 2 rows.

i tested this with firefox 3.6.12 and chrome 9.0.597.98.


I can confirm this with the following browsers:

* Firefox 3.6.13 on Windows
* Internet Explorer 8.0.6001.18702 on Windows
* Google Chrome 9.0.597.98 on Windows
* Google Chrome 9.0.597.94 on Linux

I think you get the idea :-)

ibnesayeed
17 Feb 2011, 12:28 AM
TouchPad experience is no different. In my guess it is about 6 to 9 times slower than corresponding Ext 3 example. I could not make an accurate guess because there is limited data, hence limited scroll length in the example. On my 4 cm touch pad it scrolled 5-6 rows on natural scrolling speed of my finger. While Ext 3 example seems flying.

slemmon
18 Feb 2011, 7:42 AM
Same effect in IE 7.0.5730.13CO
Scrolling in Ext 3.3 is right at 2 rows per scroll.
Ext 4 preview example grid is ~.25 row per scroll.

evant
20 Feb 2011, 9:16 PM
I've updated the scroller code to use a larger increment. We'll see how this goes for the next release, might need to tweak it a bit more.

elentirmo
28 Feb 2011, 3:11 AM
I've updated the scroller code to use a larger increment. We'll see how this goes for the next release, might need to tweak it a bit more.

I tried again with preview 2: scrolling speed has improved somewhat, however it is still too slow in my opinion.

I tested with the Stateful Array example:
* Ext 3.3.1 requires six wheel "clicks" to reach the bottom. This is about a third of an entire wheel rotation (http://dev.sencha.com/deploy/ext-3.3.1/examples/grid/array-grid.html)
* Ext 4.0-pr2 requires 29 wheel "clicks" to reach the bottom. (http://dev.sencha.com/deploy/ext-4.0-pr2/examples/grid/array-grid.html)

Tested using Google Chrome 9.0.597.98 on Linux.

tobiu
28 Feb 2011, 5:07 AM
i can confirm that it is better now, but could still need a larger increment.


best regards
tobiu

renku
28 Feb 2011, 5:49 AM
I add my vote to the scroll increments still being too small.

Comparing Ext 3.3.1 (http://dev.sencha.com/deploy/ext-3.3.1/examples/grid/array-grid.html) with Ext4 PR2 (http://dev.sencha.com/deploy/ext-4.0-pr2/examples/grid/array-grid.html), it seems that the increment should be about 3 to 5 times larger.

saprot
28 Feb 2011, 10:51 PM
I can confirm, it's about 5 times too slow in Ext 4.0 PR2

elentirmo
16 Mar 2011, 12:04 AM
Scrolling is still too slow with PR4.

Can the "[FIXED]" be removed from the subject of this thread? The problem has not yet been solved.

saprot
16 Mar 2011, 12:07 AM
Scrolling is still to slow [PR4]

Yousef
5 May 2011, 12:05 AM
In Ext 4.0.0 scrolling still isn't as fast as in normal browser windows (using google chrome myself). Also, I think the scroll speed can vary between different grids (the grid in my own application scrolls even slower than the examples)

martonk
15 Jun 2011, 1:35 AM
I compared these:
http://dev.sencha.com/deploy/ext-4.0.2/examples/grid/array-grid.html
http://dev.sencha.com/deploy/ext-3.4.0/examples/grid/array-grid.html

In Firefox 4, and Chrome 12

I feel the ExtJS 4 grid slower:(

tobiu
16 Jun 2011, 4:29 AM
http://docs.sencha.com/ext-js/4-0/

you just need to look in the API docs: there is a tree view on the left side that scroll incredibly slow with the mousewheel =/

i hope someone is looking at it, because it is an annoying behaviour.


best regards
tobiu

slemmon
16 Jun 2011, 3:01 PM
In the API docs thing - scrolling down is a pain. Scrolling up is good. At least in Chrome. Haven't tested other browsers.

Felicitus
20 Jun 2011, 2:42 AM
Yes, please fix this ASAP! This is awful!

For those who wish to fix it now: Use the following override:



Ext.override(Ext.panel.Table, {
scrollDelta: 100
});


I only tested this on chromium on Linux, I don't know if we need other scrolling speeds for different browsers.

Animal
21 Jun 2011, 12:10 AM
This is because of virtualized scrolling. We cannot tell how fast to change the scrollTop property of the View just from the events that Javascript receives from the browser.

We have a plan to use native scrolling when the grid is not buffered.