{ "id": "119361", "key": "TIMOB-15106", "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": [], "resolution": null, "resolutiondate": null, "created": "2013-08-31T08:56:31.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "reprod" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:40.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "If you close an heavyweight window soon after having opened it, the window won't be closed.\r\n\r\nh1. Steps to reproduce\r\n\r\n# Use the following code as {{app.js}}\r\n# Run the app\r\n# You ought to see the red screen (like on iOS), but you will see the green screen still open\r\n# Remove line 7 ({{modal:false}}) to make the window lightweight and you *wil* see the red screen\r\n\r\n{code:javascript}\r\nTi.UI.createWindow({\r\n backgroundColor: 'red'\r\n}).open();\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'green',\r\n modal: false\r\n});\r\n\r\nwin.open();\r\nwin.close();\r\n{code}\r\n\r\nThis issue is probably related to TIMOB-7705 resolved as {{Cannot Reproduce}}.", "attachment": [], "flagged": false, "summary": "Android: Closing an heavyweight window soon after opening it doesn't work", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 3.1.2.GA\r\nAndroid 4.1.2 on Samsung Galaxy S2\r\nAndroid 4.3 on Nexus 4", "comment": { "comments": [ { "id": "325815", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces\r\n\r\nTitanium SDK version 3.4.0 master, 3.1.2.GA\r\nTitanium Studio, build: 3.3.0.201407100905\r\nTitanium Command-Line Interface\r\nCLI version 3.3.0, \r\nAndroid device : Motorola Moto G, Android version : 4.4.4", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-26T07:56:58.000+0000", "updated": "2014-09-26T07:56:58.000+0000" }, { "id": "325820", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Of course lightweight Windows don't exist anymore, but the issue is still there indeed.\r\n\r\nIt has to do with Android cancelling an Activity is a new one is created before the former has started.\r\n\r\nMaybe it can be fixed by queueing opening of windows?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-09-26T09:29:37.000+0000", "updated": "2014-09-26T09:29:37.000+0000" }, { "id": "424412", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-19T21:54:01.000+0000", "updated": "2017-07-19T21:54:01.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }