{ "id": "88657", "key": "TIMOB-8257", "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": "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": "2012-03-28T15:39:07.000+0000", "created": "2012-03-23T15:48:13.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "15963", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "88499", "key": "TIMOB-8193", "fields": { "summary": "iOS: Composite layout - horizontal layout Views don't position children correctly", "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": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-03-30T14:06:12.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": "In the RHINO runtime, views with a \"horizontal\" layout are not rendered correctly; v8 renders them differently. This ticket has two images attached to it (one with V8 behavior, one with RHINO behavior) where the V8 behavior appears correct, and matches with the behavior of iOS.\r\n\r\nCode to test:\r\n\r\n{code}\r\nvar win1 = Ti.UI.createWindow({ \r\n title:'Win 1',\r\n layout:'vertical',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar vw1 = Ti.UI.createView({\r\n layout:'horizontal',\r\n backgroundColor:'red',\r\n width:'100%',\r\n height:75\r\n});\r\nwin1.add(vw1);\r\n\r\n//\r\nvar TheOrange=Ti.UI.createView({height:75,\r\n width:'160dp',\r\n backgroundColor:'orange',\r\n top:0\r\n });\r\n\r\nvar GreenView=Ti.UI.createView({\r\n height:Ti.UI.SIZE,\r\n width:Ti.UI.SIZE,\r\n focusable:false,\r\n touchEnabled:false,\r\n backgroundColor:'green'\r\n});\r\n\r\nGreenView.add(TheOrange);\r\nvw1.add(GreenView);\r\n\r\nvar BlueView=Ti.UI.createView({\r\n backgroundColor:'blue',\r\n width:50,\r\n height:50\r\n});\r\nvw1.add(BlueView);\r\n//\r\n\r\nwin1.open();\r\n{code}", "attachment": [ { "id": "26542", "filename": "Screen Shot 2012-03-23 at 4.29.38 PM.png", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-23T15:48:13.000+0000", "size": 82364, "mimeType": "image/png" }, { "id": "26543", "filename": "Screen Shot 2012-03-23 at 4.47.53 PM.png", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-23T15:48:13.000+0000", "size": 82202, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: \"Horizontal\" (and possibly other) layout behavior is incorrect in Rhino", "creator": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android Emu 2.2 / SDK 2.0.0.bc1a32c / RHINO runtime", "comment": { "comments": [ { "id": "189070", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "Tested on 2.2 device (Droid 2) and 2.2 emulator. Unable to reproduce against 2_0_X branch: 957cb5502d87079c048f57c9a3d4f87e82641d56", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2012-03-28T15:39:07.000+0000", "updated": "2012-03-28T15:39:07.000+0000" }, { "id": "189341", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing the issue.\r\n\r\nStudio: 2.0.0.201203291340\r\nSDK: 2.0.0.v20120329191102\r\nDevice: Android Emulator 2.2, Motorola droid (V2.2.3)\r\nOS: Mac OS X 10.6.8\r\n\r\nCannot reproduce the issue", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-30T14:06:12.000+0000", "updated": "2012-03-30T14:06:12.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }