{ "id": "109046", "key": "TIMOB-12734", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-08-17T00:23:50.000+0000", "created": "2013-02-01T20:20:14.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "alloy", "android", "api", "setlayout" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-17T01:01:13.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": "I've added an event to a button to change the layout property of a view. Each tap will turn the layout of this view to horizontal -> vertical -> composite then come back at horizontal, etc...\r\n\r\nIn the iOS simulator everything works like expected, the children views are relocated as the layout of the parent changes. But it does not work in the Android simulator or Android device (HTC Sensation, Android 4.1) They stay at the same place.\r\n\r\n(The purpose of this app, was a simple test to understand the layout property.)\r\n\r\nCould this be a bug?", "attachment": [ { "id": "35300", "filename": "app.zip", "author": { "name": "aodev", "key": "aodev", "displayName": "Kevin Purnelle", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-02-05T09:51:04.000+0000", "size": 5768560, "mimeType": "application/zip" }, { "id": "63093", "filename": "LayoutChange-Composite.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-16T18:39:42.000+0000", "size": 34515, "mimeType": "image/png" }, { "id": "63091", "filename": "LayoutChange-Horizontal.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-16T18:39:42.000+0000", "size": 34650, "mimeType": "image/png" }, { "id": "63090", "filename": "LayoutChangeTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-16T18:39:42.000+0000", "size": 1467, "mimeType": "application/x-javascript" }, { "id": "63092", "filename": "LayoutChange-Vertical.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-16T18:39:42.000+0000", "size": 34673, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: View.setLayout() does not change the view's layout property", "creator": { "name": "aodev", "key": "aodev", "displayName": "Kevin Purnelle", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "environment": "Titanium SDK 3.0 GA Android Device and Simulator, app built with Alloy", "comment": { "comments": [ { "id": "237043", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Kevin,\n\nPlease provide the sample test case that can reproduce the issue you are having.\n\nThanks,", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2013-02-04T17:09:42.000+0000", "updated": "2013-02-04T17:09:42.000+0000" }, { "id": "237207", "author": { "name": "aodev", "key": "aodev", "displayName": "Kevin Purnelle", "active": true, "timeZone": "Europe/Berlin" }, "body": "Example app that can reproduce the problem\r\n\r\nYou can have more details about how to test the issue in the readme file\r\n\r\nEdit: it's built with alloy", "updateAuthor": { "name": "aodev", "key": "aodev", "displayName": "Kevin Purnelle", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-02-05T09:51:04.000+0000", "updated": "2013-02-05T09:59:18.000+0000" }, { "id": "237817", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can you create the test case without Alloy? This doesn't sound Alloy-specific and is likely better suited for the Android platform team.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-08T21:35:24.000+0000", "updated": "2013-02-08T21:35:24.000+0000" }, { "id": "238534", "author": { "name": "aodev", "key": "aodev", "displayName": "Kevin Purnelle", "active": true, "timeZone": "Europe/Berlin" }, "body": "Sorry , I don't know why but I don't get updates notifications anymore. Do I still need to provide a test app without Alloy. If it's API related it does not matter how the app was structured, or not?", "updateAuthor": { "name": "aodev", "key": "aodev", "displayName": "Kevin Purnelle", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-02-14T12:56:19.000+0000", "updated": "2013-02-14T12:56:19.000+0000" }, { "id": "238539", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Kevin, it was essentially to determine whether I need to address this as an Alloy-specific issue, or if the platform team needs to address it at an API level. It sounds to me like you are pretty confident it's an API level issue. I'll move the ticket to TIMOB.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-14T14:59:30.000+0000", "updated": "2013-02-14T14:59:30.000+0000" }, { "id": "275866", "author": { "name": "speedyankur@gmail.com", "key": "speedyankur@gmail.com", "displayName": "ankur garha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Im also facing the same problem.\r\n\r\nIs there any temporary workaround for this issue as of now.", "updateAuthor": { "name": "speedyankur@gmail.com", "key": "speedyankur@gmail.com", "displayName": "ankur garha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-20T20:52:56.000+0000", "updated": "2013-10-20T20:52:56.000+0000" }, { "id": "301829", "body": "This issue was previously scheduled to be worked on in more than one sprint:\r\n* 'Release 3.1.2' (on board '3.1.X Triage')\r\n* 'Release 3.0.1/TS 3.0.2' (on board '3.1.0 Triage')\r\n\r\nStarting from JIRA Agile 6.3, an issue can only belong to a single future sprint. Read more about this change: http://docs.atlassian.com/agile/docs-0630/Sprint+Marker+Migration\r\n\r\nThis issue is now scheduled for future sprint 'Release 3.1.2' (on board '3.1.X Triage').\r\n\r\nIf this is incorrect, please update the issue accordingly.\r\n\r\nThis comment was automatically generated by JIRA. If it is no longer relevant, please feel free to delete it.", "created": "2014-04-21T15:32:17.000+0000", "updated": "2014-04-21T15:32:17.000+0000" }, { "id": "339044", "author": { "name": "oshevans", "key": "oshevans", "displayName": "Osian Evans", "active": true, "timeZone": "Europe/London" }, "body": "Also getting this issue without using Alloy.\r\n3.4.0GA on device.\r\n\r\nHas this been re-scheduled?\r\n", "updateAuthor": { "name": "oshevans", "key": "oshevans", "displayName": "Osian Evans", "active": true, "timeZone": "Europe/London" }, "created": "2015-01-14T16:18:37.000+0000", "updated": "2015-01-14T16:18:37.000+0000" }, { "id": "397629", "author": { "name": "chmiiller", "key": "chmiiller", "displayName": "Carlos Henrique Zinato", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any news on that guys? This ticket is quite old =/", "updateAuthor": { "name": "chmiiller", "key": "chmiiller", "displayName": "Carlos Henrique Zinato", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-29T13:10:13.000+0000", "updated": "2016-09-29T13:10:13.000+0000" }, { "id": "426798", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/9323\r\nPR (6.2.x): https://github.com/appcelerator/titanium_mobile/pull/9324\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-16T18:34:13.000+0000", "updated": "2017-08-16T18:34:13.000+0000" }, { "id": "426800", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The attached [^LayoutChangeTest.js] file can be used to help test dynamic layout changes.\r\n\r\nAlso see the attached \"LayoutChange\" screenshots for examples of the expected results when tapping each layout type button \"Vertical\", \"Horizontal\", and \"Composite\".", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-16T18:41:19.000+0000", "updated": "2017-08-16T18:41:19.000+0000" }, { "id": "426820", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed for both master & 6.2.0 PR.\r\nBoth PR's merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-17T00:23:50.000+0000", "updated": "2017-08-17T00:23:50.000+0000" }, { "id": "426821", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 6.2.0.v20170816173122.\r\n\r\nClosing.\r\n\r\nStudio Ver: 4.9.1.201707200100\r\nSDK Ver: 6.2.0.v20170816173122\r\nOS Ver: 10.12.3\r\nXcode Ver: Xcode 8.3.3\r\nAppc NPM: 4.2.9\r\nAppc CLI: 6.2.3\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.9.13\r\nNode Ver: 6.10.1\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ google Pixel --- Android 7.1.1\r\n ⇨ google Nexus 5 --- Android 6.0.1\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-17T01:01:07.000+0000", "updated": "2017-08-17T01:01:07.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }