There is no touch screen emulation, device emulation does not respond to the touch screen

Now Iโ€™m working on a mobile site, and I updated the page, Chrome stopped working unexpectedly, and since then all touch screen emulation has been missing and / or not working.

Chrome version: 36.0.1985.125 m , OS: Windows 7 Ultimate SP1

Google Chrome suddenly and unexpectedly stopped simulating devices correctly. All touch screen features have been disabled and seemingly removed. When I emulate the device, the Sensors window cannot be checked and during the test it does not display the "Touch screen emulation" option.

I tried the following, all together:

  • Removing / reinstalling Chrome and deleting all personal settings, including deleting all extensions, restoring all default settings, etc.
  • Computer restart
  • Launch antivirus software
  • EDIT: Installed by Chrome Canary, which created the exact same issue.

Please let me know if there is any other important information that may be added.

Missing 'Emulate Touch Screen'

+6
source share
2 answers

Excuse me. We redesigned the touch emulation in Chrome 36 to be much more accurate (code exchange with what really happens in Chrome Android): https://plus.sandbox.google.com/+RickByers/posts/CBCmhVttj5C . As a result, we ended up turning off touch emulation when there was real touch support (at a time when we thought it didn't matter much, because if you have a real touch screen, why do you want to fake it with a mouse?). But some Windows PCs say they have a touch screen when they really don't work (for example, Visual Studio installs a touch screen emulator, I suppose).

We are fixing this at http://crbug.com/395531 - I hope Chrome Chrome will appear soon, which will turn on touch emulation again in these cases.

In the meantime, you can basically solve the problem by disabling Chrome support for the built-in touch screens in chrome: // flags / # touch-events. Before upgrading Chrome, select the Enabled checkbox to fix the problem. At the same time, some minor aspects of sensory emulation are disabled (for example, DOM0 ontouchstart = handlers) will not work properly.

+10
source

Stop the โ€œTablet PC input serviceโ€ and restart the chrome. If chrome thinks you have a touch screen, it won't let you emulate it.

I came across an answer here: https://github.com/Modernizr/Modernizr/issues/880

+1
source

Source: https://habr.com/ru/post/972483/


All Articles