{ "id": "109843", "key": "TIMOB-12776", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "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": "2013-03-22T09:29:37.000+0000", "created": "2013-02-18T10:51:33.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ios", "iphone" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:57:28.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Description: If i close the modal window,using close button then it is working fine. But if i close it using curl effect then close event does not fire and window can not be opened second time, as it is not closed.\r\n\r\ncode to reproduce.\r\n\r\n{code}\r\nvar win1 = Ti.UI.createWindow({\r\n\tbackgroundColor : \"white\",\r\n});\r\n\r\nvar w = Ti.UI.createWindow({\r\n\tbackgroundColor : 'purple'\r\n});\r\nvar b = Ti.UI.createButton({\r\n\ttitle : 'Close',\r\n\twidth : 100,\r\n\theight : 30\r\n});\r\nb.addEventListener('click', function() {\r\n\tw.close();\r\n});\r\nw.add(b);\r\n\r\nw.addEventListener(\"close\", function() {\r\n\talert(\"hello\");\r\n});\r\n\r\nvar b1 = Ti.UI.createButton({\r\n\ttitle : 'Open',\r\n\twidth : 100,\r\n\theight : 30\r\n});\r\nb1.addEventListener('click', function() {\r\n\tw.open({\r\n\t\tmodal : true,\r\n\t\tmodalTransitionStyle : Titanium.UI.iPhone.MODAL_TRANSITION_STYLE_PARTIAL_CURL,\r\n\t\tmodalStyle : Titanium.UI.iPhone.MODAL_PRESENTATION_FULLSCREEN,\r\n\t\tnavBarHidden : true\r\n\t});\r\n});\r\n\r\nwin1.add(b1);\r\n\r\nwin1.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Modal Window opening bug, while using modal transition style", "creator": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "iOS Mobile.", "comment": { "comments": [ { "id": "243654", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\r\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\r\niOS iPhone Simulator: iOS SDK version: 6.0\r\n\r\njithinpv\r\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-22T09:29:37.000+0000", "updated": "2013-03-22T09:29:37.000+0000" }, { "id": "258691", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces\n\nTested with\n\niOS SDK: 5.1\niOS iPhone Simulator: 5.1\nMac OS X Version 10.7.5\nTitanium SDK version 3.1.1.v20130606121419\nTitanium Studio, build: 3.0.1.201212181159\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-20T07:24:09.000+0000", "updated": "2013-06-20T07:24:09.000+0000" }, { "id": "414507", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:57:28.000+0000", "updated": "2017-03-21T21:57:28.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }