{ "id": "129918", "key": "TIMOB-16907", "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": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2014-05-05T17:08:53.000+0000", "created": "2014-05-02T20:41:40.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "supportTeam" ], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T23:03:23.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h6.Issue description\r\nAttempting to open a window (app running over TabGroup) results on abnormal Legacy Window behaviour. \r\n\r\n- http://docs.appcelerator.com/titanium/3.0/#!/guide/tiapp.xml_and_timodule.xml_Reference-section-29004921_tiapp.xmlandtimodule.xmlReference-Android-specificapplicationproperties\r\n\r\nh6.Simple Code\r\nGrab app.js and just click the image of sample below:\r\n\r\nh6.tiapp.xml\r\nAdd support for Legacy Window mode:\r\n{code}\r\n true\r\n{code}\r\n\r\nh6.Test results\r\nWindow opens inside TabGroup\r\nSony Play - 4.0.4\r\nNexus 7 - 4.4.2 \r\nNexus 4 - 4.4.2\r\n\r\nWindow opens as FullScreen:\r\nMoto Razr 4.4.2\r\nDroid Razr 2.3.6\r\nZTE V793 - http://www.handsetdetection.com/properties/vendormodel/ZTE/V793\r\n", "attachment": [ { "id": "47798", "filename": "app.js", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-05-02T20:41:40.000+0000", "size": 1353, "mimeType": "text/javascript" }, { "id": "47796", "filename": "DroidRazr_2.3.6_device-2014-05-02-151439.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-05-02T20:41:40.000+0000", "size": 15682, "mimeType": "image/png" }, { "id": "47797", "filename": "Sony_Play_device-2014-05-02-151608.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-05-02T20:41:40.000+0000", "size": 40346, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Opening window from TabGroup does not comply with the Legacy behavior", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Android API Level 11 - 19", "comment": { "comments": [ { "id": "303362", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "LW windows are removed starting 3.3.0.GA so that flag doesn't do anything with current master.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-02T22:19:27.000+0000", "updated": "2014-05-02T22:19:27.000+0000" }, { "id": "303372", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "http://docs.appcelerator.com/titanium/release-notes/?version=3.2.1.B#lightweight", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-02T22:55:04.000+0000", "updated": "2014-05-02T22:55:04.000+0000" }, { "id": "303495", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Marking as won't fix as we are removing support for lightweight windows in 3.3.0", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-05T17:08:54.000+0000", "updated": "2014-05-05T17:08:54.000+0000" }, { "id": "304083", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "This is really a killer, and will require lots of rewrites on many apps that don't want to open a new activity for each window. We need fragments as LW windows ASAP.", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2014-05-08T19:18:40.000+0000", "updated": "2014-05-08T19:18:40.000+0000" }, { "id": "304099", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mokesmokes] are you referring to the removal of lightweight windows in 3.3.0?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-08T20:38:07.000+0000", "updated": "2014-05-08T20:38:07.000+0000" }, { "id": "304100", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "@Ingo - yup. The issue is that in Android if you open a new top level Activity the previous one goes into the \"paused\" state. This can easily get you in trouble if, for example you want to do I/O (e.g. you have HTTPClient requests in your tab group code) while you have a daughter window open. That's an app crash waiting to happen. The other issue is if you want to maintain Action Bar state, since each new Activity has its own. So the way to avoid this trouble in 3.3.0 is to convert all lightweight windows to views. This is what I did in my app, and it's not a trivial task since of course the view API is different (e.g. no close event, etc). \r\nI'm sure you had your reasons to remove LW windows, but it really would have been good if we had a new, alternative mechanism in place at this time (i.e. fragments).", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2014-05-08T20:52:06.000+0000", "updated": "2014-05-08T20:53:38.000+0000" }, { "id": "415203", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Won't Fix\".", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T23:03:23.000+0000", "updated": "2017-03-22T23:03:23.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }