{ "id": "97460", "key": "TIMOB-9991", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15597", "description": "2013 Sprint 17", "name": "2013 Sprint 17", "archived": true, "released": true, "releaseDate": "2013-08-23" }, { "id": "15599", "description": "2013 Sprint 17 API", "name": "2013 Sprint 17 API", "archived": true, "released": true, "releaseDate": "2013-08-23" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-13T22:58:16.000+0000", "created": "2012-07-17T05:37:20.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "exalture", "module_webview", "qe-manualtest" ], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" }, { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "31259", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "118891", "key": "TIMOB-14934", "fields": { "summary": "Android: WebView: the pause button does not work when playing a youtube video on 4.0 devices", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "26192", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "105162", "key": "TIMOB-11810", "fields": { "summary": "Ti API: Address common WebView deficiencies", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "6", "description": "gh.issue.epic.desc", "name": "Epic", "subtask": false } } } }, { "id": "56991", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "172604", "key": "TIMOB-26552", "fields": { "summary": "Windows: Application fails to open HTML files and links don't return anything ", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2018-11-13T14:40:35.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h2. Problem description\r\nSome links inside a WebView with Android 4.0.4 are not working. The problem seems to be related to the length of the text inside the link.\r\n\r\nh2. Steps to reproduce\r\n- Create an app with the files below\r\n- Run the app on Android 4.0.4\r\n- Click the links\r\n\r\napp.js\r\n{code}\r\n\r\nvar win1 = Ti.UI.createWindow({\r\n title: 'string',\r\n backgroundColor: '#fff',\r\n layout: 'vertical'\r\n});\r\n\r\n\r\nvar file = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'test2.html');\r\nvar markup = file.read ().toString ();\r\n\r\nvar wv1 = Ti.UI.createWebView ({\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0,\r\n scalesPagesToFit: true, \r\n //lightTouchEnabled: false, \r\n enableZoomControls: false,\r\n html: markup\r\n});\r\n\r\nwin1.add (wv1);\r\n\r\nwin1.open ();\r\n{code}\r\n\r\ntest2.html\r\n{code}\r\n\r\n\r\n
\r\nTest 1:
\r\nXXXX XXXXX XXXXX XXTest 2:
\r\n2109 Avent Ferry RdTest 3:
\r\n2109 Avent Ferry Rd, Ste 110Test 4:
\r\nline 1 line 1 line 1 line 1