-
2 Nov 2012 10:05 AM #11
Hi Mitchell,
What hardware are you using? does it have a touch interface? We've tried a couple of different ones including an iconia and one with a resistive instead of capacitive screen. I think the issue may be related to the way the touch vs mouse events are working. If you use a mouse it works fine, if you use a touch screen it has some serious issues, everything from not working at all to working sporadically or jerkily.
Thanks
Bob
-
2 Nov 2012 10:46 AM #12Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
- Answers
- 3155
If you can drag with your mouse but cannot with a touch device then I would say it's not ST's fault but hardware/software for the touch display not getting translated correctly.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
2 Nov 2012 11:32 AM #13
All regular browsing and other websites seem to function fine.. even using JQuery Mobile works fine with my windows 8. I don't understand why sencha touch wouldn't be able to accept the scrolling
-
5 Nov 2012 9:13 AM #14
facing same issues
facing same issues
I'm facing same issues as kholy described in his screencast of #10.
By mouse all is working fine.
By touch swiping doesn't work anymore with Chrome 22.
I'm expecting very much the native support of Win8 IE10 :-)
So what's about the future support of Chrome?
Best regards
HabichBei
-
5 Nov 2012 9:51 AM #15Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
- Answers
- 3155
Sencha Touch has it's own scroller, it's not letting the browser do the scrolling like many frameworks do. The scroller uses touch events so have you guys turned on the Emulate touch events override for Chrome to see if that helps at all?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
5 Nov 2012 10:08 AM #16
Yes i have tried enabling touch events and Chrome 24 which is the metro version already has them enabled by default and i have no success with this.
-
5 Nov 2012 10:19 AM #17
I have seen something about windows 8 having seperate touch events vs click events whereas windows 7 would decide which was which. Also, if you load up Kitchen sink:Touch Events page you can see when you click, double click but i dont see anything when i drag my finger around or anything like that as well.
http://code.google.com/p/chromium/issues/detail?id=154555
this was link i found on touch vs clicks
-
5 Nov 2012 10:50 AM #18
Found the fix:
Sencha Touch 1.x:
Ext.supports has a method: Touch which reads as:
Changing it to:Code:Touch: ('ontouchstart' in window) && (!Ext.is.Desktop),
Fixed the issue. On Sencha touch 2 side: Ext.feature.registerTest for Touch does same thing! Windows 8 devices are peculiar because they have both the Touch option and mouse. Sencha Touch disabled touch handling on desktops.Code:Touch: ('ontouchstart' in window),
Note that his fix also disables mouse handling which may require more changes so that Sencha Touch listens to both touch and mouse events.
Thanks to the hint from: http://code.google.com/p/chromium/is...tail?id=154555
-
15 Nov 2012 9:26 PM #19
Many thanks for this fix. Is it possible that you show a code sample of this fix because I am quite a newbie with Sencha Touch and I do not really understand what is to be done ?
-
19 Nov 2012 7:50 AM #20
Hi Moheirf,
I haven't had a chance to test this at all but based on the code putting this right under your include for the touch.js file should work.
Ext.feature.registerTest.Touch = function(){
return this.isEventSupported('touchstart') && !(Ext.os && Ext.os.name.match(/MacOS|Linux/) && !Ext.os.is.BlackBerry6);
};
This removes the check for windows that turns "off" the touch support.
There's probably more to it than that but it gives you a place to start. When I get our Win 8 device back I'll probably try to put together something more concrete.
Good Luck
Bob


Reply With Quote