{ "id": "165361", "key": "TIMOB-24328", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-01-23T01:09:09.000+0000", "created": "2017-01-18T22:50:08.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "eng-priority" ], "versions": [ { "id": "18154", "name": "Release 6.0.1", "archived": false, "released": true, "releaseDate": "2016-12-21" } ], "issuelinks": [ { "id": "53958", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "164541", "key": "TIMOB-24252", "fields": { "summary": "Windows: touchEnabled property/method applied but without any effect", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "53959", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "164477", "key": "TIMOB-24129", "fields": { "summary": "Windows: Click event fired when clicking a tableView with touchEnabled set to false", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-16T18:09:33.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" }, { "id": "15101", "name": "Windows phone", "description": "Windows phone platform" } ], "description": "h5. Problem Description:\r\n\r\nSetting touchEnabled with value false in a Ti.UI.Button doesn't disable the component in a universal windows app (Windows 10). This works as expected in Android and iOS\r\n\r\nh5. Steps to Replicate:\r\n\r\n1) Launch the app (https://propelics.box.com/s/tquvgq5ejldjslsb61rpzncgtdxjxia2)\r\n2) Two buttons will show up.\r\n3) Click on the touchEnabled true one (the one on the top). An alert will show up.\r\n4) Click on the touchEnabled false one (the one on the bottom). Same alert will show up.\r\n\r\nh5. Expected Result:\r\nClick event shouldn't trigger in the button in the bottom, as it has its touchEnabled property set to false.\r\n\r\n\r\n", "attachment": [ { "id": "61567", "filename": "Description_test_case_before.PNG", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-14T22:09:41.000+0000", "size": 9849, "mimeType": "image/png" }, { "id": "61568", "filename": "Description_test_case.PNG", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-14T22:09:41.000+0000", "size": 5713, "mimeType": "image/png" } ], "flagged": false, "summary": "UniversalWindowsApp: touchEnabled: false does not disable button", "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": "Operating System\r\n Name = Microsoft Windows 10 Pro\r\n Version = 10.0.14393\r\n Architecture = 64bit\r\n # CPUs = 1\r\n Memory = 2.9GB\r\n\r\nNode.js\r\n Node.js Version = 4.6.0\r\n npm Version = 2.15.9\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.11\r\n node-appc Version = 0.2.39\r\n\r\nTitanium SDKs\r\n 6.0.1.GA\r\n Version = 6.0.1\r\n Install Location = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.0.1.GA\r\n Platforms = android, mobileweb, windows\r\n git Hash = 265db0d\r\n git Timestamp = 12/20/2016 00:54\r\n node-appc Version = 0.2.39\r\n", "closedSprints": [ { "id": 796, "state": "closed", "name": "2017 Sprint 02 SDK", "startDate": "2017-01-15T00:00:41.845Z", "endDate": "2017-01-29T00:00:00.000Z", "completeDate": "2017-01-30T21:10:44.640Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "404895", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile_windows/pull/928", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-19T23:28:42.000+0000", "updated": "2017-01-19T23:28:42.000+0000" }, { "id": "407059", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am able to verify with the test case provided in https://github.com/appcelerator/titanium_mobile_windows/pull/928. But with the test case provided in the description the second button is no longer visible. Any idea why [~gmathews] ?\r\n\r\n6.0.1.GA\r\n!Description_test_case_before.PNG|thumbnail!\r\n\r\n6.1.0.v20170213134957\r\n!Description_test_case.PNG|thumbnail!\r\n\r\n*Environment*\r\n{code:java}\r\nWindows Emulator: 10.0.14393\r\nOperating System:\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 32bit\r\n# CPUs = 4\r\nMemory = 17034395648\r\n \r\nNode.js:\r\nNode.js Version = 4.6.0 \r\nnpm Version = 2.15.9\r\n \r\nTitanium SDK:\r\nSDK Version = 6.1.0.v20170213134957\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-14T22:12:02.000+0000", "updated": "2017-02-14T22:12:02.000+0000" }, { "id": "419805", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified with the following test case:\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({ backgroundColor: 'green' }),\r\n btn = Ti.UI.createButton({ title: 'BUTTON', backgroundColor: '#FF0000', touchEnabled: false, });\r\n\r\nbtn.addEventListener('click', function () {\r\n alert('CLICK');\r\n});\r\n\r\nwin.add(btn);\r\nwin.open();\r\n{code}\r\nWas unable to verify with test case in description as link is no longer available.\r\n\r\n*Environment*\r\n{code:java}\r\nWindows Emulator: 10.0.14393\r\nOperating System:\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 32bit\r\n# CPUs = 4\r\nMemory = 17034395648\r\n \r\nNode.js:\r\nNode.js Version = 6.10.1\r\n \r\nTitanium SDK:\r\nSDK Version = 6.1.0.v20170514022959\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-16T18:09:24.000+0000", "updated": "2017-05-16T18:09:24.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }