Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User debianw's Avatar
    Join Date
    Mar 2012
    Location
    Costa Rica
    Posts
    49
    Vote Rating
    2
    debianw is on a distinguished road

      0  

    Default Performance issue scrolling DataView

    Performance issue scrolling DataView


    REQUIRED INFORMATION

    Ext version tested:
    • Sencha Touch 2.0.1.1
    Browser versions tested against:
    • LG Optimus G. Android 4.0.4 (Phonegap 1.7)
    • Nexus 7. Android 4.2 (Phonegap 1.7)
    Description:
    • Bad performance when scrolling the DataView that is 3 times the device height. (A form panel with fieldsets and fields).
    • On Nexus 7 the scrolling is so bad, slow.
    Steps to reproduce the problem:
    • Build a Form with at least 40 questions. (try to separate group of questions inside fieldsets). Use textfields, checkboxfields, selectfields.
    • Or take a look at the Kitchen sink Basic Form demo.
    The result that was expected:
    • Smooth fast scrolling from top to bottom and the other way around.
    The result that occurs instead:
    • Huge bad performance when scrolling the Form panel.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,404
    Vote Rating
    849
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Have you tried with the latest release 2.1.1? The form panel uses the slower scrolling due to inconstancies between platforms and devices, there isn't much we can do about it at this time.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User debianw's Avatar
    Join Date
    Mar 2012
    Location
    Costa Rica
    Posts
    49
    Vote Rating
    2
    debianw is on a distinguished road

      0  

    Default


    Quote Originally Posted by mitchellsimoens View Post
    Have you tried with the latest release 2.1.1? The form panel uses the slower scrolling due to inconstancies between platforms and devices, there isn't much we can do about it at this time.
    I haven't yet. I'm going to test 2.1.1 and see the performance.

  4. #4
    Sencha User debianw's Avatar
    Join Date
    Mar 2012
    Location
    Costa Rica
    Posts
    49
    Vote Rating
    2
    debianw is on a distinguished road

      0  

    Default


    Quote Originally Posted by mitchellsimoens View Post
    Have you tried with the latest release 2.1.1? The form panel uses the slower scrolling due to inconstancies between platforms and devices, there isn't much we can do about it at this time.
    Tested on 2.1.1

    Test Case:
    - A form panel with 4 fieldsets, each fieldset with 6 fields

    Results:
    - Nexus 7: Better scrolling.
    - Lg Optimus G: Bad performance, so slow, not responsive. the screen starts to lag and gets to slow.


    I have tested the Lg Optimus G using Chrome browser and the scrolling is fast and smooth, but when I packaged my app with phonegap and compile that into my device the scrolling looks bad, that because the Webview is still using the old native browser of Android 4.0.

  5. #5
    Sencha User interfasys's Avatar
    Join Date
    Mar 2011
    Location
    UK & Switzerland
    Posts
    125
    Vote Rating
    1
    interfasys is on a distinguished road

      0  

    Default


    Tested on:
    2.2

    Test device:
    BlackBerry Dev Alpha

    Test case:
    A dataview with 25 pictures + text

    Results:
    - 3-4fps when bouncing at the edges
    - Amazing speed in between

    Workaround:
    Disable the bouncing with this code
    Code:
    scrollable:{
                momentumEasing:{
                     bounce:{
                        acceleration:0.0001,
                        springTension:0.9999
                    },
                    minVelocity:5
                },
                outOfBoundRestrictFactor:0
            }
    Would be great if 2.2 could include bouncing that works as well as scrolling
    Olivier - interfaSys
    Developing custom solutions for BlackBerry 10 using Sencha Touch.