Answered by:
Make Windows 8 app more sensitive to touch

Question
-
I am making an app with HTML for Windows 8, which requires touch. The touch is working fine other than, after about 20 seconds of inactivity, the screen stops detecting touch until it is pressed. So I need to touch the screen twice (or more) for it to work. It even shows the little circle where you touch the screen, so I know it detected it, but the element doesn't fire the "onclick" function assigned to it. How can I stop the touch screen from "turning off"?Sunday, September 8, 2013 12:52 AM
Answers
-
Sounds like a hardware or driver issue to me. There's nothing in the platform that I know of that turns touch response off like you describe.
It's possible that Lenovo has some configuration for this, but likely it's just a hardware issue. A quick search on "Lenovo twist touch screen problems" reveals issues with it becoming unresponsive.
To be certain you'd need to try the same code on another machine, but as you've repro'd with one of the SDK samples already (all of which went through extensive testing) then the signs point to a hardware issue.
Kraig
Author, Programming Windows 8 Apps with HTML, CSS, and JavaScript, a free ebook from Microsoft Press
Also see second edition preview
- Marked as answer by Jamles HezModerator Thursday, September 12, 2013 9:26 AM
Monday, September 9, 2013 9:30 PM -
Hi vcapra1,
Thank you for the testing result, and I'd like suggest you raise this question at Lenovo Community to see if there are some screen configurations from Lenovo. As Kraig told, it is a hardware or driver issue, hardly to provide some professional suggestions from a app dev forum.
Again thanks for supporting Windows Store app Dev forum.
Best Regards,
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- Marked as answer by Jamles HezModerator Thursday, September 12, 2013 9:26 AM
Tuesday, September 10, 2013 1:00 AMModerator
All replies
-
Hi vcapra1,
It is a really strange behaviour. I'm trying to help you find where the problem is.
The first step is could you try the same action in another HTML app, leave it 20 seconds inactivity, and to see if it need double clicking to detecting the touch, for this step you could know if it is a hardware or driver issue.
And the next question is can you explain me what do you mean by "little circle"? Is your app run in a surface or a Windows 8 PC?
Best Regards,
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.Monday, September 9, 2013 6:25 AMModerator -
Hello James,
By "little circle" I mean the semi-transparent dot that appears every time you tap the screen, and it shrinks away in about a second.
I can see this, which tells me the computer recognized the touch, and it appears right on top of the button, but the button does not fire the javascript function until about the second or third tap.
I is running on a Windows 8 PC, a Lenovo Twist (ThinkPad series) and the app is created with Visual Studio.
And I will try another HTML app.
-Thanks, Vinnie
Monday, September 9, 2013 8:14 PM -
Hi,
OK, i tested it on a sample from microsoft, and it did the same thing. Also, if the element has hover properties, those become active. so it's like it's just moving to cursor to where you tapped and then you need to tap again to actually click it
-Vinnie
Monday, September 9, 2013 8:41 PM -
Sounds like a hardware or driver issue to me. There's nothing in the platform that I know of that turns touch response off like you describe.
It's possible that Lenovo has some configuration for this, but likely it's just a hardware issue. A quick search on "Lenovo twist touch screen problems" reveals issues with it becoming unresponsive.
To be certain you'd need to try the same code on another machine, but as you've repro'd with one of the SDK samples already (all of which went through extensive testing) then the signs point to a hardware issue.
Kraig
Author, Programming Windows 8 Apps with HTML, CSS, and JavaScript, a free ebook from Microsoft Press
Also see second edition preview
- Marked as answer by Jamles HezModerator Thursday, September 12, 2013 9:26 AM
Monday, September 9, 2013 9:30 PM -
Hi vcapra1,
Thank you for the testing result, and I'd like suggest you raise this question at Lenovo Community to see if there are some screen configurations from Lenovo. As Kraig told, it is a hardware or driver issue, hardly to provide some professional suggestions from a app dev forum.
Again thanks for supporting Windows Store app Dev forum.
Best Regards,
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- Marked as answer by Jamles HezModerator Thursday, September 12, 2013 9:26 AM
Tuesday, September 10, 2013 1:00 AMModerator