{ "id": "142614", "key": "TIMOB-18444", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-07-13T18:05:31.000+0000", "created": "2015-01-09T20:46:37.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "TCSupport", "autolink", "domain" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-18T17:51:53.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": "h4. Problem Description\r\nWe are displaying email address in a label with auto link turned off. However, some email addresses are displayed as a partial hyperlink.\r\n\r\nFor example, \"asdf.la\" in asdf.latham@domain.com appears as a link. It seems to me that Titanium or Android is detecting asdf.la as a hostname. \r\n\r\nh4. Steps to reproduce\r\n1. Create a new mobile project classic titanium\r\n2. Replace app.js contents with:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white',\r\n exitOnClose: true,\r\n fullscreen: false,\r\n layout: 'vertical',\r\n title: 'Label Demo'\r\n});\r\n \r\nvar label1 = Ti.UI.createLabel({\r\n color: '#900',\r\n text: 'asdf.latham@domain.com',\r\n textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER,\r\n top: 30,\r\n width: Ti.UI.SIZE, \r\n height: Ti.UI.SIZE,\r\n autoLink: Ti.UI.AUTOLINK_NONE\r\n});\r\n \r\nwin.add(label1);\r\nwin.open();\r\n{code}\r\n3. Run it in Samsung Galaxy S3 running Android 4.3 or Samsung Tab 10.1” running Android version 4.1.2. Otherwise, will work. \r\n\r\nh4. Extra information\r\nThis only happens in Samsung devices. The customer was able to reproduce the issue using the testcase and devices: Samsung Galaxy S3 running Android 4.3 & Samsung Tab 10.1” running Android version 4.1.2. \r\n", "attachment": [], "flagged": false, "summary": "Android: email address partially underlined", "creator": { "name": "mitch.starnes@bnsf.com", "key": "mitch.starnes@bnsf.com", "displayName": "Mitch Starnes", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "mitch.starnes@bnsf.com", "key": "mitch.starnes@bnsf.com", "displayName": "Mitch Starnes", "active": true, "timeZone": "America/Chicago" }, "environment": "Android 4.3\r\nMobile SDK 3.5.x, 3.4.x\r\n", "comment": { "comments": [ { "id": "338650", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Hi,\r\n\r\nI can't reproduce your problem in my Samsung Galaxy Nexus on Android 4.2.2 with following code.\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white',\r\n exitOnClose: true,\r\n fullscreen: false,\r\n layout: 'vertical',\r\n title: 'Label Demo'\r\n});\r\n\r\nvar label1 = Ti.UI.createLabel({\r\n color: '#900',\r\n text: 'asdf.latham@domain.com',\r\n textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER,\r\n top: 30,\r\n width: Ti.UI.SIZE, \r\n height: Ti.UI.SIZE,\r\n autoLink: Ti.UI.AUTOLINK_NONE\r\n});\r\n\r\nwin.add(label1);\r\nwin.open();\r\n{code}\r\n\r\nWould you please try my code in your device, see if the problem still there,\r\nIf yes, please provide the following questions: what kind of device did you use? Have you tried other device? Which version of Ti SDK did you use?\r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-01-12T05:26:44.000+0000", "updated": "2015-01-12T05:26:44.000+0000" }, { "id": "338672", "author": { "name": "mitch.starnes@bnsf.com", "key": "mitch.starnes@bnsf.com", "displayName": "Mitch Starnes", "active": true, "timeZone": "America/Chicago" }, "body": "We are able to reproduce the problem using your code on a Samsung Galaxy S3 running Android 4.3. \r\n\r\nOn another device, a Motorola Moto X running 4.4, I was not able to reproduce the problem. ", "updateAuthor": { "name": "mitch.starnes@bnsf.com", "key": "mitch.starnes@bnsf.com", "displayName": "Mitch Starnes", "active": true, "timeZone": "America/Chicago" }, "created": "2015-01-12T16:35:38.000+0000", "updated": "2015-01-12T16:35:38.000+0000" }, { "id": "338673", "author": { "name": "mitch.starnes@bnsf.com", "key": "mitch.starnes@bnsf.com", "displayName": "Mitch Starnes", "active": true, "timeZone": "America/Chicago" }, "body": "Ti SDK is 3.4.", "updateAuthor": { "name": "mitch.starnes@bnsf.com", "key": "mitch.starnes@bnsf.com", "displayName": "Mitch Starnes", "active": true, "timeZone": "America/Chicago" }, "created": "2015-01-12T16:36:05.000+0000", "updated": "2015-01-12T16:36:05.000+0000" }, { "id": "338735", "author": { "name": "mitch.starnes@bnsf.com", "key": "mitch.starnes@bnsf.com", "displayName": "Mitch Starnes", "active": true, "timeZone": "America/Chicago" }, "body": "Shuo Liang:\r\n\r\nUsing your code, we were also able to reproduce the problem on a Samsung Tab 10.1” running Android version 4.1.2.\r\n\r\nThanks.", "updateAuthor": { "name": "mitch.starnes@bnsf.com", "key": "mitch.starnes@bnsf.com", "displayName": "Mitch Starnes", "active": true, "timeZone": "America/Chicago" }, "created": "2015-01-12T21:02:54.000+0000", "updated": "2015-01-12T21:02:54.000+0000" }, { "id": "338783", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "HI Mitch,\r\n\r\nThank you for your reply, we will do more research about the device you mentioned.\r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-01-13T00:23:11.000+0000", "updated": "2015-01-13T00:23:11.000+0000" }, { "id": "339235", "author": { "name": "mitch.starnes@bnsf.com", "key": "mitch.starnes@bnsf.com", "displayName": "Mitch Starnes", "active": true, "timeZone": "America/Chicago" }, "body": "We were able to reproduce the problem on two devices:\r\n\r\n1. Samsung Galaxy S3 running Android 4.3\r\n2. Samsung Tab 10.1” running Android version 4.1.2\r\n\r\nThanks.", "updateAuthor": { "name": "mitch.starnes@bnsf.com", "key": "mitch.starnes@bnsf.com", "displayName": "Mitch Starnes", "active": true, "timeZone": "America/Chicago" }, "created": "2015-01-15T16:02:14.000+0000", "updated": "2015-01-15T16:02:14.000+0000" }, { "id": "424091", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-13T18:05:09.000+0000", "updated": "2017-07-13T18:05:09.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }