{ "id": "92898", "key": "TIMOB-9421", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13419", "description": "Sprint 2012-13 Mobile Web", "name": "Sprint 2012-13 MW", "archived": true, "released": true, "releaseDate": "2012-07-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-21T22:29:47.000+0000", "created": "2012-06-06T11:26:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "parity", "regression" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "17698", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "88696", "key": "TIMOB-8275", "fields": { "summary": "MobileWeb: Implement the polynomial layout algorithm", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-06-26T14:52:14.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "h4. PRoblem description\r\nThe customer is trying to replicate a view order from ios to mobileweb. In SDK 2.0.2GA, it's working really nice. In 2.1 CI build is broken.\r\n\r\nh4. Actual Results\r\nThe mobile web version is not aligned as the ios version.\r\n\r\nh4. Expected Results\r\nBoth UI should look the same.\r\n\r\nh4. TestCase\r\n1. Create a mobile project.\r\n2. Add this to app.js:\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({backgroundColor:'#FFFFFF'});\r\nvar mView = Ti.UI.createView({\r\n\t\t\ttop:20,\r\n\t\t\theight:90,\r\n\t\t\tleft:'5%',\r\n\t\t\twidth:'90%',\r\n\t\t\tlayout:'horizontal',\r\n\t\t\tbackgroundColor:'#000'\r\n\t\t});\r\nvar bar1 = Ti.UI.createView({\r\n\t\t\t\tbottom:10,\r\n\t\t\t\theight:80,\r\n\t\t\t\twidth:100,\r\n\t\t\t\tbackgroundColor:'green'\r\n\t\t\t});\r\nvar bar2 = Ti.UI.createView({\r\n\t\t\t\tbottom:10,\r\n\t\t\t\theight:50,\r\n\t\t\t\tbackgroundColor:'yellow',\r\n\t\t\t\twidth:120\r\n\t\t\t});\r\nmView.add(bar1);\r\nmView.add(bar2);\r\nwin1.add(mView)\r\nwin1.open();\r\n{code}", "attachment": [ { "id": "28196", "filename": "Screen Shot 2012-06-06 at 10.47.44 AM.png", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-06-06T11:26:44.000+0000", "size": 15918, "mimeType": "image/png" }, { "id": "28195", "filename": "webalign.png", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-06-06T11:26:44.000+0000", "size": 55668, "mimeType": "image/png" } ], "flagged": false, "summary": "MobileWeb: Difference in alignment of view", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "Titanium SDK version: 2.1.0.v20120606105255.9f0f0ba\r\nPlatform & version: Mobile Web, Chrome, Mac OSX \r\nDevice Details: Mobile Web, Chrome, Mac OSX \r\nHost Operating System: OSX 10.7.3 \r\nTitanium Studio version: 2.0.2", "comment": { "comments": [ { "id": "197626", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This was fixed in TIMOB-8275 and will be included in the 2.1.0 release (you can use it in the CI builds today).", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-06T23:20:30.000+0000", "updated": "2012-06-06T23:20:30.000+0000" }, { "id": "199698", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Confirmed.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-06-21T20:29:06.000+0000", "updated": "2012-06-21T20:29:06.000+0000" }, { "id": "199700", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull Request: https://github.com/appcelerator/titanium_mobile/pull/2452", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-21T22:26:44.000+0000", "updated": "2012-06-21T22:26:44.000+0000" }, { "id": "200403", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the issue in the environment below & found it to be working properly in mobile web.\r\n\r\nTitanium Studio : 2.1.0.201206251749\r\nSDK version : 2.1.0.v20120626104306\r\nChrome : 19.0.1084.56", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-26T14:52:14.000+0000", "updated": "2012-06-26T14:52:14.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }