Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15924] WebView Multitouch Problem

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-07-12T18:01:07.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, multitouch, webview
Reporterluka dodelia
AssigneeEric Merriman
Created2012-09-21T10:57:02.000+0000
Updated2017-07-12T18:01:25.000+0000

Description

i am using openlayers in webview and map's pinch to zoom doesn't work it was worked on 2.0.2.GA but since updates it stopped working currently my build is 2.1.2.GA and map still doesn't receive pinch to zoom event "WARN/webview(16089): Miss a drag as we are waiting for WebCore's response for touch down." only this i receive in android logcat any suggestions

Comments

  1. lasha 2012-09-23

    Hello, On 2.1.2.GA SDK we have same problem, when I try to pinch to zoom on WebView MAPs (I'm using leaflet javascript map engine) it doesn't work. We were going to release new app, but this issue was critical for us. Can you please, fix ASAP. Thank you.
  2. Daniel Sefton 2012-11-20

    Closing until the following info is provided: A reproducible test case; a simple app.js with a web view and a map will suffice, as long as it's reproducible. Is this only on Android, or iOS as well? If only on Android, we need to know the Android version, and whether it's on the device and/or simulator. Iasha: If you could do the same, that would be helpful. Thanks!
  3. Daniel Sefton 2013-01-25

    I've set this to resolved so that the issue can now be edited to provide more info. We appreciate your time in helping to improve our platform. Thanks, Daniel
  4. Mostafizur Rahman 2013-12-08

    I tested this issue the test code below. I was able to reproduce the problem.

    Test Environment:

    OS: MAC OS X 10.8.5 Ti SDK: 3.2.0.x Ti CLI: 3.3.0 Android SDK 2.3.3 Android Device

    Test Code

       var win = Ti.UI.createWindow({
       	backgroundColor : '#fff',
       	exitOnClose : true,
       	fullscreen : false,
       	layout : 'vertical', 
       });
       
       var aWebView = Ti.UI.createWebView({
       	url : 'http://openlayers.org/dev/examples/all-overlays-google.html'
       });
       aWebView.addEventListener('load', function(e) {
       	Ti.API.info('webview loaded: ' + e.url);
       });
       
       win.add(aWebView);
       
       win.open();
       
       

    Step to reproduces

    Create a new project

    Paste test code in app.js

    Now run on Android Device

    Now try pinch to zoom on WebView MAPs

    Check DDMS logs for getting warning

    *DDMS Logs*
       12-08 23:23:00.420: W/webview(6164): Miss a drag as we are waiting for WebCore's response for touch down.
       12-08 23:23:02.280: W/webview(6164): Miss a drag as we are waiting for WebCore's response for touch down.
       12-08 23:23:03.220: W/webview(6164): Miss a drag as we are waiting for WebCore's response for touch down.
       12-08 23:23:07.910: W/webview(6164): Miss a drag as we are waiting for WebCore's response for touch down.
       12-08 23:23:09.190: W/webview(6164): Miss a drag as we are waiting for WebCore's response for touch down.
       12-08 23:23:10.280: W/webview(6164): Miss a drag as we are waiting for WebCore's response for touch down.
       12-08 23:23:14.770: W/webview(6164): Miss a drag as we are waiting for WebCore's response for touch down.
       12-08 23:23:15.650: W/webview(6164): Miss a drag as we are waiting for WebCore's response for touch down.
       12-08 23:23:16.760: W/webview(6164): Miss a drag as we are waiting for WebCore's response for touch down.
       12-08 23:23:17.920: W/webview(6164): Miss a drag as we are waiting for WebCore's response for touch down.
       12-08 23:23:20.340: W/webview(6164): Miss a drag as we are waiting for WebCore's response for touch down.
       
    Thanks
  5. Lee Morris 2017-07-12

    I am unable to reproduce this issue with the following environment; Pixel (7.1) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131

JSON Source