{ "id": "148552", "key": "TIMOB-18980", "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": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-06-10T17:39:56.000+0000", "created": "2015-06-06T00:08:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [ { "id": "48045", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "148622", "key": "TIMOB-18991", "fields": { "summary": "Windows: Dismissing alert dialog crashes app", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-07-02T18:20: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" } ], "description": "h5.Description\r\n\r\nWhen dismissing an alert dialog, both the close button and the hardware back button quit the application.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'white'});\r\n\r\nvar button = Titanium.UI.createButton({\r\n top: 60,\r\n title: 'Hello',\r\n width: '180',\r\n height: '80',\r\n image: '/KS_nav_ui.png'\r\n});\r\n\r\n\r\nbutton.addEventListener('click', function(){\r\n alert('HELLO!');\r\n});\r\n\r\nwin.add(button);\r\nwin.open();\r\n{code}\r\n\r\n*I am unsure if the app quits or crashes as logging does not seem to work with my machine, I am investigating if this is on every machine or just mine*\r\n\r\nh5.Steps To Reproduce\r\n\r\n1. Add the above code the the app.js of a Titanium Classic application\r\n2. Build the app to device using {{appc run -p windows -T device}} or {{ti build -p windows -T device}}\r\n3. Tap the 'Hello' button, due to TIMOB-18979 you can't see it, it's around the top middle in the top third of the screen\r\n4. Tap 'Close' or the hardware back button\r\n\r\nh5.Actual Result\r\n\r\nThe app quits\r\n\r\nh5.Expected Result\r\n\r\nThe app should not quit", "attachment": [], "flagged": false, "summary": "Windows: Closing an alert quits the app", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 8.1\r\nAppc CLI(NPM):4.0.0\r\nAppc CLI(Registry): 4.0.1\r\nTitanium SDK: 4.1.0.v20150604094312\r\nLumia 1020: 8.1", "closedSprints": [ { "id": 420, "state": "closed", "name": "2015 Sprint 12 Windows", "startDate": "2015-06-07T01:15:19.706Z", "endDate": "2015-06-21T01:15:00.000Z", "completeDate": "2015-06-20T23:02:18.410Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "354733", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/272", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-06-10T07:03:42.000+0000", "updated": "2015-06-10T07:03:42.000+0000" }, { "id": "356762", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 8.1\r\nAppc CLI (NPM): 4.1.0-1\r\nAppc CLI (Registry): 4.1.0-4\r\nTi SDK: 4.1.0.v20150702030940\r\nAppc Studio: 4.1.0.201507010234\r\n\r\n\r\nDismissing an alert dialog no longer crashes the app\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-07-02T18:20:28.000+0000", "updated": "2015-07-02T18:20:28.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }