Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,839
    Vote Rating
    146
    mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold

      0  

    Default Sluggish mouseover effect tree/grid

    There's way too much processing going on when moving the mouse over a tree or grid. If I record half a second of moving my mouse over a row or two, I see _thousands_ of function calls logged in the FB profiler. Try this in Chrome, you'll see a noticeable lag with the row hover effect - which is insane, considering it's Chrome, and a Tree with 10 rows. Only option seems to be to disable trackOver to avoid the poor impression.

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,555
    Vote Rating
    61
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default

    It's not slow. It delays actually setting the class until the mouse movement settles

    If you are scrolling quickly it will not frantically add and remove classes (each of which will cause a layout)

  3. #3
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,839
    Vote Rating
    146
    mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold

      0  

    Default

    It's _perceived_ as extremely sluggish. Do a side by side with 3.x and you'll feel it, huge difference. Couldn't the hover effect just use good old :hover for good browsers to save all the event firing?

  4. #4

  5. #5
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,555
    Vote Rating
    61
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default

    Well that's possible. But trackMouseOver adds a class and fires events which form part of an API which is in wide use.

    If all you need in your app is a hover state, then you could use

    Code:
        trackMouseOver: false
    and add

    Code:
    .x-grid-row:hover .x-grid-cell {
        background-color: whatever;
    }

  6. #6
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,839
    Vote Rating
    146
    mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold

      0  

    Default

    Just saying, my guess is that a newcomer to Sencha/Ext may perceive the 4.2 hover delay as a poorly performing grid.

  7. #7
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,555
    Vote Rating
    61
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default

    Check the mouseOverOutBuffer config on Ext.view.View

  8. #8
    Sencha Premium Member
    Join Date
    Dec 2009
    Location
    Rhode Island
    Posts
    232
    Vote Rating
    28
    dmulcahey has a spectacular aura about dmulcahey has a spectacular aura about

      0  

    Default

    I agree with mankz it "feels" sluggish and that's something my users will jump on quickly.

  9. #9
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,555
    Vote Rating
    61
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default

    You can set mouseOverOutBuffer to false either in configuration, or in an override.

    But we can move the default from 50ms buffer down to say 20 to speed up the perceived response while still hopefully not adding and removing hundreds of times while scrolling.

  10. #10
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,839
    Vote Rating
    146
    mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold mankz is a splendid one to behold

      0  

    Default

    How about buffering the row hover at the first detected scroll? Or maybe only buffer row-hover for buffered grids?