{ "id": "170193", "key": "TIMOB-25463", "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": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-11-21T03:19:46.000+0000", "created": "2017-10-31T19:24:07.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "19542", "description": "", "name": "Release 6.2.2", "archived": false, "released": true, "releaseDate": "2017-09-19" }, { "id": "19922", "description": "", "name": "Release 6.2.1", "archived": false, "released": true, "releaseDate": "2017-09-18" } ], "issuelinks": [ { "id": "56164", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "170402", "key": "TIMOB-25542", "fields": { "summary": "Windows: Incorrect event's source.id on Windows 10 Mobile", "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": "56130", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "168511", "key": "TIMOB-24856", "fields": { "summary": "Windows: Implement bubbleParent property", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-06T17:49:29.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. Issue Description \r\nIssue: When wrapping view(s) within an outer view, and a click event listener is added to that outer view, and all of this is in a standalone alloy controller, the feedback gotten from the click event object in regards to what the source of the click is, is incorrect. \r\n\r\nSAMPLE PROJECT: \r\nhttps://propelics.box.com/s/o7uaqpvwwtd41g71gurdgg9022obdjal \r\n\r\nSTEPS TO REPRODUCE: \r\n1.- Open and run sample project. Can be deployed with -T ws-local \r\n2.- A window with two views will appear: one white with a smaller red view in within and one cyan with a smaller purple view in within. \r\n3.- Click on the red inner view of the white view and observe the console output: the event object will print with a source.id = \"moreButton\", which is correct, as you'll can verify in the contents of index.xml. \r\n4.- Now click on the purple inner view of the cyan view and observe the console output: the event object will print with a source.id = \"siteTab\", which is incorrect, as you can verify in the contents of smallerViewController.xml. \r\n\r\nAs demonstrated, this is only reproducible in standalone alloy controllers. \r\n\r\nNOTE: Exact the same behavior happens with a Ti.UI.Button. ", "attachment": [], "flagged": false, "summary": "Windows: Incorrect event's source.id when in separate controller", "creator": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System \r\nName = Microsoft Windows 10 Pro \r\nVersion = 10.0.15063 \r\nArchitecture = 64bit \r\n# CPUs = 8 \r\nMemory = 15.9GB \r\n\r\nNode.js \r\nNode.js Version = 4.6.2 \r\nnpm Version = 2.15.11 \r\n\r\nTitanium CLI \r\nCLI Version = 5.0.14 \r\nnode-appc Version = 0.2.41 \r\n\r\nTitanium SDKs \r\n6.2.2.GA \r\nVersion = 6.2.2 \r\nInstall Location = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.2.2.GA \r\nPlatforms = android, mobileweb, windows \r\ngit Hash = 42c7196 \r\ngit Timestamp = 9/19/2017 23:04 \r\nnode-appc Version = 0.2.43 \r\n\r\nMicrosoft (R) Visual Studio \r\n14.0 (selected) \r\nPath = C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\ \r\nCLR Version = v4.0.30319 \r\nMSBuild Version = v14.0.25420.1 \r\nWindows Phone SDKs = not installed \r\n\r\nMicrosoft (R) Windows Phone SDK \r\n10.0 \r\nPath = C:\\Program Files (x86)\\Windows Kits\\10\\ \r\n8.1 (selected) \r\nPath = C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\ ", "closedSprints": [ { "id": 975, "state": "closed", "name": "2017 Sprint 24 SDK", "startDate": "2017-11-19T18:59:24.352Z", "endDate": "2017-12-03T18:59:00.000Z", "completeDate": "2017-12-04T23:20:14.151Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "430341", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1156\r\n\r\nNote: It turns out this issue is not specific to Alloy but occurs on classic app too.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-11-09T07:07:04.000+0000", "updated": "2017-11-09T07:07:04.000+0000" }, { "id": "431070", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Merged. Created TIMOB-25542 to track Win 10 Mobile issue.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-11-21T03:19:46.000+0000", "updated": "2017-11-21T03:19:46.000+0000" }, { "id": "440189", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:29.000+0000", "updated": "2018-08-06T17:49:29.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }