{ "id": "120609", "key": "TIMOB-15378", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-18T18:12:47.000+0000", "created": "2013-09-30T11:49:37.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_tabgroup", "parity", "qe-3.2.0", "qe-testadded", "triage" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-07-24T09:50:57.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": "Different Behaviour of Window when within TabGroup in iOS and Android when window is set with borderRadius and borderColor and backgroundColor.\r\n\r\n\r\n{code}\r\n\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n \r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'red',\r\n borderWidth : 0,\r\n borderColor: 'blue'\r\n \r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\n \r\nvar label1 = Titanium.UI.createLabel({\r\n color:'#999',\r\n text:'I am Window 1',\r\n font:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n textAlign:'center',\r\n width:'auto'\r\n});\r\n \r\nwin1.add(label1);\r\n \r\n \r\ntabGroup.addTab(tab1); \r\n \r\n// open tab group\r\ntabGroup.open();\r\n{code}\r\n\r\nExpected Result:\r\nWindow with red background color must get open with label in middle.\r\n\r\nActual Result:\r\nGets black colored screen with no label.\r\n\r\nResult with 3.1.3.GA and 3.1.2.GA\r\nOn Android: black colored screen appears.\r\nOn iOS: red background colored window gets open along with label in the center.\r\n\r\nResult with 3.1.1.GA\r\nOn Android: black colored screen appears along with red background colored window on the top left corner along with the label in the corner.\r\nOn iOS: red background colored window gets open along with label in the center.\r\n", "attachment": [ { "id": "42845", "filename": "3.1.1.png", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-30T11:49:37.000+0000", "size": 19037, "mimeType": "image/png" }, { "id": "42844", "filename": "3.1.1ios.png", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-30T11:49:37.000+0000", "size": 22828, "mimeType": "image/png" }, { "id": "42846", "filename": "3.1.3.android.png", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-30T11:49:37.000+0000", "size": 16613, "mimeType": "image/png" }, { "id": "42847", "filename": "3.1.3.ios.png", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-30T11:49:37.000+0000", "size": 23438, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Different Behaviour of Window within TabGroup in iOS and Android when set with borderRadius and BorderColor", "creator": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appc Studio:3.1.3.201308302458\r\nSdk:3.1.3.GA\r\nCLI : 3.1.2\r\nOS : MAC OSX 10.8.5\r\nXCode : 5\r\nDevice:Google Nexus7(v4.2.1) and Simulator(v7.0)", "comment": { "comments": [ { "id": "275145", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Changed getContentView to use getOuterView instead of getNativeView so that for the windows with border, the border is returned.\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4788", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-15T16:24:12.000+0000", "updated": "2013-10-15T16:24:12.000+0000" }, { "id": "275688", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I didn't see the black screen on fail case, but rather a crash with this exception: http://pastie.org/private/hqw9npsnx1hnj9ezbqvhbg (Tested with 4.2.X device on 3.1.2.GA, 3.1.3.GA, and master). Regardless, the PR fixes this.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-18T18:04:09.000+0000", "updated": "2013-10-18T18:04:09.000+0000" }, { "id": "275691", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "CR + FR", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-18T18:12:47.000+0000", "updated": "2013-10-18T18:12:47.000+0000" }, { "id": "283792", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as working as expected.\r\nTested Environment:\r\n\r\nAppcelerator Studio: 3.2.0.201312101708\r\nSDK:3.2.0.v20131210191510\r\nalloy: 1.3.0-cr\r\nacs: 1.0.10\r\nnpm: 1.3.2\r\ntitanium: 3.2.0-cr\r\ntitanium-code-processor: 1.1.0-cr\r\nXcode:5.0.2\r\nOS: Mac OSX 10.9\r\nDevice: Google Nexus7(v4.3)", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-11T10:43:02.000+0000", "updated": "2013-12-11T10:43:02.000+0000" }, { "id": "298483", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Looks to be already resolved on master & 3_2_X removing the 3.2.3 branch", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-24T21:04:21.000+0000", "updated": "2014-03-24T21:04:21.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }