{ "id": "169708", "key": "TIMOB-25239", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-09-14T02:22:02.000+0000", "created": "2017-09-06T19:56:16.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-09-14T02:22:02.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5. Problem Description:\r\nWe were trying to edit an element during runtime that has a property of \"touchEnabled: false\" but the changes are not taking effect.\r\n\r\nh5. Sample Application:\r\n\r\nAttached.\r\n\r\nh5. Steps to Reproduce:\r\n1. Run the attached app.\r\n2. click on the label\r\n2. You will see, the second view changes it's color but first one does not(this view has \"touchEnabled: false\" property set in tss)\r\n\r\nh5. Note: Testing it on iOS works fine.", "attachment": [ { "id": "63209", "filename": "index.js", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-09-06T19:56:08.000+0000", "size": 170, "mimeType": "text/javascript" }, { "id": "63210", "filename": "index.tss", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-09-06T19:56:05.000+0000", "size": 357, "mimeType": "application/octet-stream" }, { "id": "63211", "filename": "index.xml", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-09-06T19:56:01.000+0000", "size": 223, "mimeType": "text/xml" } ], "flagged": false, "summary": "Windows: Problem with touchEnabled and styling on runtime", "creator": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "subtasks": [], "reporter": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "environment": null, "closedSprints": [ { "id": 948, "state": "closed", "name": "2017 Sprint 19 SDK", "startDate": "2017-09-10T21:24:51.562Z", "endDate": "2017-09-24T21:24:00.000Z", "completeDate": "2017-09-25T17:49:27.460Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "427827", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I think this should be fixed on 6.2.0. Could you try following code on 6.2.0 to see if it works?\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({ backgroundColor: 'green' }),\r\n view1 = Ti.UI.createView({ top: 100, width: 40, height: 40, backgroundColor: 'lightblue', touchEnabled: true }),\r\n view2 = Ti.UI.createView({ top: 150, width: 40, height: 40, backgroundColor: 'lightblue', touchEnabled: false });\r\n\r\nwin.addEventListener('click', function () {\r\n view1.backgroundColor = 'yellow';\r\n view2.backgroundColor = 'yellow';\r\n});\r\n\r\nwin.add(view1);\r\nwin.add(view2);\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-09-13T09:17:42.000+0000", "updated": "2017-09-13T09:17:42.000+0000" }, { "id": "427845", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "body": "[~kiguchi] : Interesting, it indeed worked when I tried with 6.2.0.v20170906064110 and used the customer's app to test it and it changed the color of both views irrespective of touchEnabled value.", "updateAuthor": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-09-13T18:43:03.000+0000", "updated": "2017-09-13T18:43:03.000+0000" }, { "id": "427862", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Awesome, closing this.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-09-14T02:22:02.000+0000", "updated": "2017-09-14T02:22:02.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }