{ "id": "121427", "key": "TIMOB-15574", "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": "15707", "description": "2013 Sprint 23", "name": "2013 Sprint 23", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "id": "15708", "description": "2013 Sprint 23 API", "name": "2013 Sprint 23 API", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-30T23:17:32.000+0000", "created": "2013-10-21T12:36:59.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "module_navwindow", "qe-testadded", "triage" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [ { "id": "32893", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "120782", "key": "TIMOB-16128", "fields": { "summary": "iOS7: Swipe Back doesn't work properly with navbarHidden", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "32963", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "121895", "key": "TIMOB-15622", "fields": { "summary": "iOS7: On Swipe back event (on TabGroup windows) UI not functioning properly", "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 } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-21T08:48:22.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": "h4. Problem Description\r\n\r\nWhen you have a NavigationWindow, you can open a window and then obtain either:\r\n\r\n# a left arrow to close the window\r\n# you can slide the window to close or\r\n# you can actually have a button that closes the window\r\n\r\nIf you do a small slide of the window and don't actually close it, the close button won't work anymore.\r\n\r\nh4. Steps to reproduce\r\n1. Create a new mobile project with Mobile SDK 3.1.3 for iOS 7\r\n2. Paste the provided testcase and run it.\r\n3. Click the label \"open window\". \r\n4. Do a little bit of scrolling and then get it back. \r\n5. Click on the close window button, the window won't close. \r\n\r\nh4. Testcase\r\n{code:javascript}\r\nvar win2 = Titanium.UI.createWindow({\r\n backgroundColor: 'red',\r\n title: 'Red Window'\r\n});\r\n\r\nvar win1 = Titanium.UI.iOS.createNavigationWindow({\r\n window: win2\r\n});\r\n\r\nvar win3 = Titanium.UI.createWindow({\r\n backgroundColor: 'blue',\r\n title: 'Blue Window'\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n title: 'Open Blue Window'\r\n});\r\nbutton.addEventListener('click', function(){\r\n win1.openWindow(win3, {animated:true});\r\n});\r\n\r\nwin2.add(button);\r\nvar button2 = Titanium.UI.createButton({\r\n title: 'Close Blue Window'\r\n});\r\nbutton2.addEventListener('click', function(){\r\n win1.closeWindow(win3, {animated:false}); //win3.close() will also work!!\r\n});\r\n\r\nwin3.add(button2);\r\nwin1.open();\r\n{code}\r\n", "attachment": [ { "id": "43336", "filename": "1.png", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-21T12:37:00.000+0000", "size": 26661, "mimeType": "image/png" }, { "id": "43337", "filename": "2.png", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-21T12:37:00.000+0000", "size": 34722, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS7: It is not possible close window inside a navgroup, after a small sliding ", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti 3.1.3.GA, iOS7", "comment": { "comments": [ { "id": "276185", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello,\r\ntested this code:\r\n\r\n{code}\r\nvar win2 = Titanium.UI.createWindow({\r\n backgroundColor: 'red',\r\n title: 'Red Window'\r\n});\r\n\r\nvar win1 = Titanium.UI.iOS.createNavigationWindow({\r\n window: win2\r\n});\r\n\r\nvar win3 = Titanium.UI.createWindow({\r\n backgroundColor: 'blue',\r\n title: 'Blue Window'\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n title: 'Open Blue Window'\r\n});\r\nbutton.addEventListener('click', function(){\r\n win1.openWindow(win3, {animated:true});\r\n});\r\n\r\nwin2.add(button);\r\nvar button2 = Titanium.UI.createButton({\r\n title: 'Close Blue Window'\r\n});\r\nbutton2.addEventListener('click', function(){\r\n win1.closeWindow(win3, {animated:false}); //win3.close() will also work!!\r\n});\r\n\r\nwin3.add(button2);\r\nwin1.open();\r\n{code}\r\n\r\nand works like a charm in 3.1.3.GA. \r\n\r\nBest,\r\n\r\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-10-22T18:00:07.000+0000", "updated": "2013-10-22T18:00:07.000+0000" }, { "id": "276229", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, I have tried it again for fourth time and it basically doesn't work. Problem has to be on your side, please can you write me what you have done? (Steps)? Thank you", "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T21:13:16.000+0000", "updated": "2013-10-22T21:13:16.000+0000" }, { "id": "276248", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello,\n\n1. Create the new mobile project with MobileSDK 3.1.3.GA\n2. Paste thesample code into app.js\n3. Compile it to the simulator in iOS7.\n4. Run it. \n\nBest,\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-10-22T21:53:31.000+0000", "updated": "2013-10-22T21:53:31.000+0000" }, { "id": "276249", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sorry ,but now I don't understand. Are these steps for me to try it again (It doesn't work anyway) or you have done it?", "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T22:08:19.000+0000", "updated": "2013-10-22T22:08:19.000+0000" }, { "id": "276255", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello Matej,\nI shared the code and the steps that i ran to test your issue. It works for me. What Mobile SDK are you using?\n\nBest,\nMauro", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-10-22T22:26:23.000+0000", "updated": "2013-10-22T22:26:23.000+0000" }, { "id": "276256", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "body": "And what about these steps:\n\n1. If you can see red window (Screen \"1\") click on the \"Open blue window\".\n2. Drag just a little bit blue window (Screen \"2\") and push it back. (The most important one)\n3. Click on the \"Close Blue Window\" - it doesn't work.", "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T22:30:11.000+0000", "updated": "2013-10-22T22:30:11.000+0000" }, { "id": "276258", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello,\nhow do you manage to do that scroll? Can you test my code and i can't scroll it as you are showing. \n\nBEst,\n\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-10-22T22:41:01.000+0000", "updated": "2013-10-22T22:41:01.000+0000" }, { "id": "276266", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Just go with the cursor to the left side (Few pixels from left side), click and drag (Not completely!)", "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T23:02:27.000+0000", "updated": "2013-10-22T23:02:27.000+0000" }, { "id": "276555", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is it working for you? ", "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T09:31:09.000+0000", "updated": "2013-10-24T09:31:09.000+0000" }, { "id": "276619", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello,\nI can't do the dragging, therefore is not crashing here. That should not be draggable. \n\nBest,\n\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-10-24T17:08:53.000+0000", "updated": "2013-10-24T17:08:53.000+0000" }, { "id": "276624", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, the dragging is possible. Have you got device with iOS 7? If you want to go back you can click on \"Back\" button or drag the window. It works exactly same in the simulator ,but instead finger you have to use mouse/cursor. Please try it one more time if you won't be able do it I will make video for you. Thanks", "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T17:26:41.000+0000", "updated": "2013-10-24T17:26:41.000+0000" }, { "id": "276630", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello,\nalready tried that, without success. Your video will be more than welcomed!\n\nBest,\n\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-10-24T17:44:48.000+0000", "updated": "2013-10-24T17:44:48.000+0000" }, { "id": "276639", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Done, http://www.qfpost.com/file/d?g=kSS3HhutF", "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T18:07:52.000+0000", "updated": "2013-10-24T18:07:52.000+0000" }, { "id": "276646", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "I got the exact instructions about how to reproduce the bug, and I can reproduce it. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-10-24T18:19:18.000+0000", "updated": "2013-10-24T18:19:18.000+0000" }, { "id": "276647", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is possible to set up higher (High) priority for this bug? I think this is not just a regular bug that can wait... Thank you", "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T18:31:52.000+0000", "updated": "2013-10-24T18:31:52.000+0000" }, { "id": "276682", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello Matej,\nthe priority will be set by the Platform team. \n\nBes,t\n\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-10-24T20:57:59.000+0000", "updated": "2013-10-24T20:57:59.000+0000" }, { "id": "276785", "author": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "updateAuthor": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "created": "2013-10-25T15:23:40.000+0000", "updated": "2013-10-25T15:23:40.000+0000" }, { "id": "277416", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending against master\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4889", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-30T22:03:51.000+0000", "updated": "2013-10-30T22:03:51.000+0000" }, { "id": "279377", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified closing Window inside a NavigationWindow is possible while using the original test case and kosso's test case.\n\nTested on:\n\nTitanium Studio, build: 3.2.0.201311122225\nSDK build: 3.2.0.v20131113094843\nTi CLI: 3.2.0 (4c816f21d7d9360659d77e9a6a994992ef880b72)\nXcode: 5.0.2\nDevice: iphone 5s (7.0.2)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-13T19:05:34.000+0000", "updated": "2013-11-13T19:05:34.000+0000" }, { "id": "280163", "author": { "name": "pakocas", "key": "pakocas", "displayName": "info@macgrafic.com", "active": true, "timeZone": "America/Los_Angeles" }, "body": "You can disable the slide effect?", "updateAuthor": { "name": "pakocas", "key": "pakocas", "displayName": "info@macgrafic.com", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-19T15:17:07.000+0000", "updated": "2013-11-19T15:17:07.000+0000" }, { "id": "280165", "author": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "body": "@ info@macgrafic.com - I think you can disable it if you manually set a leftNavButton (to act as your back/window close button) when creating the window.\r\n\r\nI have custom back buttons in an app and the slide to close doesn't happen.", "updateAuthor": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "created": "2013-11-19T15:41:33.000+0000", "updated": "2013-11-19T15:41:33.000+0000" }, { "id": "280192", "author": { "name": "pakocas", "key": "pakocas", "displayName": "info@macgrafic.com", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@kosso\r\n¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ AWESOME !!!!!!!!!!!!!\r\nI had not thought about it! Thank you so much! But you, Thank you so much!\r\nSimple but very effective ... was about to rewrite many lines for this!", "updateAuthor": { "name": "pakocas", "key": "pakocas", "displayName": "info@macgrafic.com", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-19T18:13:05.000+0000", "updated": "2013-11-19T18:13:05.000+0000" } ], "maxResults": 23, "total": 23, "startAt": 0 } } }