-
18 Feb 2013 11:29 AM #11
I'll talk to Don some more about this. The 20ms setting feels about right. Have you tried it?
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
18 Feb 2013 11:32 AM #12Sencha - Community Support Team
- Join Date
- Nov 2007
- Location
- Helsingborg, Sweden
- Posts
- 2,455
- Vote Rating
- 48
20 is decent, still doesn't feel like Chrome (any delay is noticeable).
Btw, setting it to 0 produces an error...
-
18 Feb 2013 11:41 AM #13
That's a bug for sure. I'll create a ticket.
Fix:
Code:Ext.override(Ext.view.View, { afterRender: function(){ var me = this, onMouseOverOut = me.mouseOverOutBuffer ? me.onMouseOverOut : me.handleMouseOverOrOut; me.callParent(); me.mon(me.getTargetEl(), { scope: me, /* * We need to make copies of this since some of the events fired here will end up triggering * a new event to be called and the shared event object will be mutated. In future we should * investigate if there are any issues with creating a new event object for each event that * is fired. */ freezeEvent: true, click: me.handleEvent, mousedown: me.handleEvent, mouseup: me.handleEvent, dblclick: me.handleEvent, contextmenu: me.handleEvent, keydown: me.handleEvent, mouseover: onMouseOverOut, mouseout: onMouseOverOut }); } });Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
19 Feb 2013 9:15 PM #14
Reducing the buffer to 20ms seems to feel pretty good - the problem with no delay is that it actually creates a real CPU hit to try to keep up with every mousemove. The delay was added because users on (cough) IE (cough) reported the CPU spike. We'll see how the new delay feels.
Of course you (or someone else reading this) can override this in your app
Thanks for reporting it - let us know how the smaller buffer value feels?Code:Ext.define('MyApp.patches.view.View', { target: 'Ext.view.View', mouseOverOutBuffer: 0 });Don Griffin
Ext JS Development Team Lead
Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue
"Use the source, Luke!"
-
19 Feb 2013 9:21 PM #15
I see my window was stale when I posted my response :P
I guess we just need an Ext.support.EyeCandy feature detector
Don Griffin
Ext JS Development Team Lead
Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue
"Use the source, Luke!"
-
20 Feb 2013 2:09 PM #16
-
25 Feb 2013 1:05 PM #17
The :hover approach will make IE7 truly suffer.
Aaron Conran
@aconran
Sencha Architect Development Team
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-8719
in
4.2.0 Sprint 4 (GA).


Reply With Quote